Update buildtest.yml #3
Annotations
12 errors and 1 warning
com.uu.au.models.HelpRequestTests ► testHelpRequestIsActiveAndSubmittedOrClaimedOrInFlight:
src/test/java/com/uu/au/models/HelpRequestTests.java#L226
Failed test found in:
target/surefire-reports/TEST-com.uu.au.models.HelpRequestTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
|
com.uu.au.models.UserTests ► testGetGradeAndDateOnlyGrade3InList:
src/test/java/com/uu/au/models/UserTests.java#L748
Failed test found in:
target/surefire-reports/TEST-com.uu.au.models.UserTests.xml
Error:
java.util.NoSuchElementException: No value present
|
com.uu.au.models.UserTests ► testGetGradeAndDateEmptyList:
src/test/java/com/uu/au/models/UserTests.java#L703
Failed test found in:
target/surefire-reports/TEST-com.uu.au.models.UserTests.xml
Error:
java.util.NoSuchElementException: No value present
|
com.uu.au.models.UserTests ► testGetGradeAndDateGrade4:
src/test/java/com/uu/au/models/UserTests.java#L836
Failed test found in:
target/surefire-reports/TEST-com.uu.au.models.UserTests.xml
Error:
org.opentest4j.AssertionFailedError: expected: <2023-01-20> but was: <2023-01-15>
|
com.uu.au.repository.UserRepositoryTests ► testCurrentUser2:
src/test/java/com/uu/au/repository/UserRepositoryTests.java#L164
Failed test found in:
target/surefire-reports/TEST-com.uu.au.repository.UserRepositoryTests.xml
Error:
org.springframework.web.server.ResponseStatusException: 401 UNAUTHORIZED "INVALID_CURRENT_USER"
|
com.uu.au.repository.UserRepositoryTests ► testFindByGitHubHandle:
src/test/java/com/uu/au/repository/UserRepositoryTests.java#L290
Failed test found in:
target/surefire-reports/TEST-com.uu.au.repository.UserRepositoryTests.xml
Error:
org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2
|
com.uu.au.repository.UserRepositoryTests ► testFindByEmail:
src/test/java/com/uu/au/repository/UserRepositoryTests.java#L102
Failed test found in:
target/surefire-reports/TEST-com.uu.au.repository.UserRepositoryTests.xml
Error:
org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2
|
com.uu.au.api.DemonstrationControllerIT ► testUnclaimDemonstrationAlreadyCompleted:
src/test/java/com/uu/au/api/DemonstrationControllerIT.java#L293
Failed test found in:
target/failsafe-reports/TEST-com.uu.au.api.DemonstrationControllerIT.xml
Error:
org.opentest4j.AssertionFailedError: expected: not equal but was: <SUBMITTED>
|
com.uu.au.api.DemonstrationControllerIT ► testDoneDemonstrationClaimedByOtherTeacher:
src/test/java/com/uu/au/api/DemonstrationControllerIT.java#L374
Failed test found in:
target/failsafe-reports/TEST-com.uu.au.api.DemonstrationControllerIT.xml
Error:
org.opentest4j.AssertionFailedError: Expected org.springframework.web.client.HttpClientErrorException to be thrown, but nothing was thrown.
|
com.uu.au.api.GodControllerIT ► testExploreAchievementNoAchievement:
src/test/java/com/uu/au/api/GodControllerIT.java#L369
Failed test found in:
target/failsafe-reports/TEST-com.uu.au.api.GodControllerIT.xml
Error:
org.opentest4j.AssertionFailedError: expected: <[]> but was: <[{"lastName":"Doe","lastLogin":"2024-06-14T06:56:09.830372","role":"TEACHER","gitHubFlowSuccessful":false,"gitHubHandle":null,"userName":"johnteacher","needsProfilePic":true,"needsGitHubHandle":true,"canClaimHelpRequests":false,"updatedDateTime":"2024-06-14T06:56:09.830609","firstName":"John","gitHubRepoURL":"nullj.d","id":2,"deadline":null,"zoomRoom":null,"needsZoomLink":true,"email":"[email protected]","verifiedProfilePic":false}]>
|
build
Failed test were found and 'fail-on-error' option is set to true
|
build
Failed test were found and 'fail-on-error' option is set to true
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|