ого вау работает

This commit is contained in:
dasha 2023-03-27 23:05:30 +04:00
parent 302a163749
commit 0434d1b3b8

View File

@ -94,7 +94,7 @@ public class JpaCustomerTests {
cinemaService.deleteCinema(cinema2.getId()); cinemaService.deleteCinema(cinema2.getId());
} }
/*@Test() @Test()
void testCustomer() { void testCustomer() {
customerService.deleteAllCustomers(); customerService.deleteAllCustomers();
final Customer customer = customerService.addCustomer("Иван", "Иванов"); final Customer customer = customerService.addCustomer("Иван", "Иванов");
@ -158,5 +158,5 @@ public class JpaCustomerTests {
final List<Session> sessions2 = sessionService.findAllSessions(); final List<Session> sessions2 = sessionService.findAllSessions();
log.info(sessions2.toString() + "testSessionReadAllEmpty"); log.info(sessions2.toString() + "testSessionReadAllEmpty");
Assertions.assertEquals(sessions2.size(), 0); Assertions.assertEquals(sessions2.size(), 0);
}*/ }
} }