refactor(test): remove access modifiers from test classes (!31)
All checks were successful
Quality Check / Tests (push) Successful in 1m1s
Quality Check / Checkstyle Main (push) Successful in 46s
Build / Build and analyze (push) Successful in 2m0s
Release / Release (push) Successful in 39s

Reviewed-on: #31
Reviewed-by: Phan Huy Tran <ptran@noreply.localhost>
Co-authored-by: Jan Klattenhoff <jan@kjan.de>
Co-committed-by: Jan Klattenhoff <jan@kjan.de>
This commit is contained in:
Jan Gleytenhoover 2024-10-02 10:29:39 +00:00 committed by Jan Gleytenhoover
parent 8230337839
commit 1e38efaa63
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;