test(backend): UserRepository invocation and UserService register #61
Annotations
4 warnings
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/
|
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)
|
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)
|
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)
|
This job failed
Loading