Skip to content

Working on oauth

Working on oauth #985

GitHub Actions / Unit test report for orcid-internal-api failed Feb 27, 2025 in 0s

3 passed, 2 failed and 0 skipped

Tests failed

❌ orcid-internal-api/target/surefire-reports/TEST-org.orcid.internal.server.InternalApiServiceDelegatorTest.xml

5 tests were completed in 31s with 3 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.internal.server.InternalApiServiceDelegatorTest 3✅ 2❌ 31s

❌ org.orcid.internal.server.InternalApiServiceDelegatorTest

✅ viewLastModifiedTest
✅ viewStatusTextTest
❌ viewMemberInfoTest
	javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not prepare statement
❌ findOrcidByEmailTest
	javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not prepare statement
✅ findOrcidByEmailWrongScopeTest

Annotations

Check failure on line 75 in orcid-internal-api/src/test/java/org/orcid/internal/server/InternalApiServiceDelegatorTest.java

See this annotation in the file changed.

@github-actions github-actions / Unit test report for orcid-internal-api

org.orcid.internal.server.InternalApiServiceDelegatorTest ► viewMemberInfoTest

Failed test found in:
  orcid-internal-api/target/surefire-reports/TEST-org.orcid.internal.server.InternalApiServiceDelegatorTest.xml
Error:
  javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not prepare statement
Raw output
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not prepare statement
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.viewMemberInfoTest(InternalApiServiceDelegatorTest.java:75)
Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.viewMemberInfoTest(InternalApiServiceDelegatorTest.java:75)
Caused by: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: CLIENTGRAN4_.AUTHORITY
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.viewMemberInfoTest(InternalApiServiceDelegatorTest.java:75)
Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: CLIENTGRAN4_.AUTHORITY
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.viewMemberInfoTest(InternalApiServiceDelegatorTest.java:75)

Check failure on line 102 in orcid-internal-api/src/test/java/org/orcid/internal/server/InternalApiServiceDelegatorTest.java

See this annotation in the file changed.

@github-actions github-actions / Unit test report for orcid-internal-api

org.orcid.internal.server.InternalApiServiceDelegatorTest ► findOrcidByEmailTest

Failed test found in:
  orcid-internal-api/target/surefire-reports/TEST-org.orcid.internal.server.InternalApiServiceDelegatorTest.xml
Error:
  javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not prepare statement
Raw output
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not prepare statement
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.findOrcidByEmailTest(InternalApiServiceDelegatorTest.java:102)
Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.findOrcidByEmailTest(InternalApiServiceDelegatorTest.java:102)
Caused by: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: CLIENTGRAN4_.AUTHORITY
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.findOrcidByEmailTest(InternalApiServiceDelegatorTest.java:102)
Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: CLIENTGRAN4_.AUTHORITY
	at org.orcid.internal.server.InternalApiServiceDelegatorTest.findOrcidByEmailTest(InternalApiServiceDelegatorTest.java:102)