Skip to content

Commit

Permalink
rename some test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Optic-Okulist committed Oct 25, 2023
1 parent 04f59c1 commit 5a9460a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
import spring.boot.bookstore.security.AuthenticationService;
import spring.boot.bookstore.service.user.UserService;

@ContextConfiguration(classes = {AuthControllerTest.class})
@ContextConfiguration(classes = {AuthControllerIntegrationTest.class})
@ExtendWith(SpringExtension.class)
@WebMvcTest(AuthControllerTest.class)
class AuthControllerTest {
@WebMvcTest(AuthControllerIntegrationTest.class)
class AuthControllerIntegrationTest {
@InjectMocks
private AuthController authController;
@Mock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@DataJpaTest
@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.NONE)
class OrderRepositoryTest {
class OrderRepositoryIntegrationTest {
@Autowired
private OrderRepository orderRepository;
@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@DataJpaTest
@AutoConfigureTestDatabase(replace = AutoConfigureTestDatabase.Replace.AUTO_CONFIGURED)
class ShoppingCartRepositoryTest {
class ShoppingCartRepositoryIntegrationTest {
private static final Long VALID_ID = 1L;
@MockBean
private ShoppingCartRepository shoppingCartRepository;
Expand Down

0 comments on commit 5a9460a

Please sign in to comment.