Skip to content

test(backend): UserRepository invocation and UserService register #61

test(backend): UserRepository invocation and UserService register

test(backend): UserRepository invocation and UserService register #61

Triggered via pull request July 9, 2024 17:48
Status Failure
Total duration 44s
Artifacts

backend-ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: backend/src/test/java/com/greenfoxacademy/backend/controller/UserRegistrationTest.java#L11
[testtool] reported by reviewdog 🐶 Import statement for 'org.junit.jupiter.api.Assertions.assertTrue' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. Raw Output: /github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/controller/UserRegistrationTest.java:11:1: warning: Import statement for 'org.junit.jupiter.api.Assertions.assertTrue' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
build: backend/src/test/java/com/greenfoxacademy/backend/controller/UserServiceTest.java#L12
[testtool] reported by reviewdog 🐶 Import statement for 'org.mockito.Mockito.times' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. Raw Output: /github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/controller/UserServiceTest.java:12:1: warning: Import statement for 'org.mockito.Mockito.times' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)
build: backend/src/test/java/com/greenfoxacademy/backend/controller/UserServiceTest.java#L13
[testtool] reported by reviewdog 🐶 Import statement for 'org.mockito.Mockito.verify' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. Raw Output: /github/workspace/./backend/src/test/java/com/greenfoxacademy/backend/controller/UserServiceTest.java:13:1: warning: Import statement for 'org.mockito.Mockito.verify' is in the wrong order. Should be in the 'STATIC' group, expecting not assigned imports on this line. (com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck)