Убрали комментарий

This commit is contained in:
dasha 2023-03-15 23:57:08 +04:00
parent ba29a321f0
commit 28263bf4f9

View File

@ -68,11 +68,12 @@ public class JpaCustomerTests {
.findOrder(order2.getId()).getTickets().size(), 3);
customerService.deleteCustomer(customer2.getId());
Assertions.assertThrows(EntityNotFoundException.class, () -> customerService.findCustomer(customer2.getId()));
Assertions.assertThrows(EntityNotFoundException.class, () -> orderService.findOrder(order2.getId()));
Assertions.assertEquals(orderService.findAllOrders().size(), 0);
}
/*@Test()
@Test()
void testCustomer() {
customerService.deleteAllCustomers();
final Customer customer = customerService.addCustomer("Иван", "Иванов");
@ -132,5 +133,5 @@ public class JpaCustomerTests {
final List<Ticket> tickets2 = ticketService.findAllTickets();
log.info(tickets2.toString() + "testTicketReadAllEmpty");
Assertions.assertEquals(tickets2.size(), 0);
}*/
}
}