refactor(test): remove access modifiers from test classes
All checks were successful
Quality Check / Tests (pull_request) Successful in 59s
Quality Check / Checkstyle Main (pull_request) Successful in 46s
Build PR / Build and analyze (pull_request) Successful in 1m57s
gitea-sonarqube-bot OK

This commit is contained in:
Jan Gleytenhoover 2024-10-02 12:26:12 +02:00
parent 8230337839
commit cefd1ffe1c
Signed by: jank
GPG Key ID: B267751B8AE29EFE
3 changed files with 3 additions and 3 deletions

@ -20,7 +20,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@SpringBootTest @SpringBootTest
@AutoConfigureMockMvc(addFilters = false) @AutoConfigureMockMvc(addFilters = false)
public class CreateProjectActionTest { class CreateProjectActionTest {
@Autowired @Autowired
private MockMvc mockMvc; private MockMvc mockMvc;
@Autowired @Autowired

@ -14,7 +14,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@AutoConfigureMockMvc(addFilters = true) @AutoConfigureMockMvc(addFilters = true)
public class ProjectFindAllNotAuthenticated { class ProjectFindAllNotAuthenticated {
@Autowired @Autowired
private ProjectRepository projectRepository; private ProjectRepository projectRepository;

@ -18,7 +18,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@AutoConfigureMockMvc(addFilters = false) @AutoConfigureMockMvc(addFilters = false)
public class ProjectFindAllSuccessTest { class ProjectFindAllSuccessTest {
@Autowired @Autowired
private ProjectRepository projectRepository; private ProjectRepository projectRepository;