Fixing some unit tests #987
commit.yml
on: push
lint
/
pre-commit
12s
seed_maven_cache
/
seed_cache
25s
Annotations
11 errors
org.orcid.frontend.web.controllers.ClientsControllerTest ► editClientTest:
orcid-web/src/test/java/org/orcid/frontend/web/controllers/ClientsControllerTest.java#L319
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.ClientsControllerTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.controllers.ClientsControllerTest ► addClientTest:
orcid-web/src/test/java/org/orcid/frontend/web/controllers/ClientsControllerTest.java#L282
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.ClientsControllerTest.xml
Error:
java.lang.AssertionError
|
org.orcid.frontend.web.controllers.ManageMembersControllerTest ► editGroupTypeTest:
orcid-web/src/test/java/org/orcid/frontend/web/controllers/ManageMembersControllerTest.java#L454
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.ManageMembersControllerTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.controllers.ManageMembersControllerTest ► editMemberDoesntChangePersistentTokenEnabledValueTest:
orcid-web/src/test/java/org/orcid/frontend/web/controllers/ManageMembersControllerTest.java#L435
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.ManageMembersControllerTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.controllers.OauthRegistrationControllerTest ► testStripHtmlFromNames:
orcid-web/src/test/java/org/orcid/frontend/web/controllers/OauthRegistrationControllerTest.java#L111
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.OauthRegistrationControllerTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.controllers.RegistrationControllerTest ► regEmailsAdditonalValidateNotSameAsOtherAdditional:
orcid-web/src/test/java/org/orcid/frontend/web/controllers/RegistrationControllerTest.java#L145
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml
Error:
java.lang.IllegalArgumentException: Could not find field 'profileEntityCacheManager' of type [null] on target object [org.orcid.frontend.web.controllers.RegistrationController@76cbca3a] or target class [class org.orcid.frontend.web.controllers.RegistrationController]
|
org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest ► oauth2ScreensFeatureEnabledTest:
orcid-web/src/test/java/org/orcid/frontend/web/filter/OAuthAuthorizeNotSignedInFilterTest.java#L161
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest ► noAuthentication:
orcid-web/src/test/java/org/orcid/frontend/web/filter/OAuthAuthorizeNotSignedInFilterTest.java#L114
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest ► noSecurityContext:
orcid-web/src/test/java/org/orcid/frontend/web/filter/OAuthAuthorizeNotSignedInFilterTest.java#L99
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest ► oauth2ScreensFeatureFlagUsedTest:
orcid-web/src/test/java/org/orcid/frontend/web/filter/OAuthAuthorizeNotSignedInFilterTest.java#L176
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest.xml
Error:
java.lang.NullPointerException
|
org.orcid.frontend.web.util.ThirdPartyLinkManagerTest ► findOrcidClientsWithPredefinedOauthScopePeerReviewImportTest:
orcid-web/src/test/java/org/orcid/frontend/web/util/ThirdPartyLinkManagerTest.java#L162
Failed test found in:
orcid-web/target/surefire-reports/TEST-org.orcid.frontend.web.util.ThirdPartyLinkManagerTest.xml
Error:
java.lang.NullPointerException
|