From b56c295266514d4057df9647687ae80e302d0325 Mon Sep 17 00:00:00 2001 From: Nikita Sergeev Date: Fri, 17 Mar 2023 19:56:14 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D1=81=D0=BA=D0=BE=D0=BC=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BB=20=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D1=87=D0=BA=D0=B8=20=D1=82=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/ip/labwork/JpaStudentTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/ip/labwork/JpaStudentTests.java b/src/test/java/ip/labwork/JpaStudentTests.java index b342edf..c362b9c 100644 --- a/src/test/java/ip/labwork/JpaStudentTests.java +++ b/src/test/java/ip/labwork/JpaStudentTests.java @@ -28,7 +28,7 @@ public class JpaStudentTests { @Autowired OrderService orderService; @Test - void testCreate() { + void test() { componentService.deleteAllComponent(); productService.deleteAllProduct(); orderService.deleteAllOrder(); @@ -49,7 +49,7 @@ public class JpaStudentTests { log.info(order.toString()); Assertions.assertNotNull(order.getId()); - /*//TestRead + //TestRead final Component findComponent = componentService.findComponent(component.getId()); log.info(findComponent.toString()); Assertions.assertEquals(component, findComponent); @@ -96,6 +96,6 @@ public class JpaStudentTests { final List newOrders = orderService.findAllOrder(); log.info(newOrders.toString()); - Assertions.assertEquals(newOrders.size(), 0);*/ + Assertions.assertEquals(newOrders.size(), 0); } } \ No newline at end of file