diff --git a/Lab2_3/src/test/java/com/example/demo/HouseServiceTests.java b/Lab2_3/src/test/java/com/example/demo/HouseServiceTests.java index 8c52266..2222143 100644 --- a/Lab2_3/src/test/java/com/example/demo/HouseServiceTests.java +++ b/Lab2_3/src/test/java/com/example/demo/HouseServiceTests.java @@ -60,11 +60,10 @@ class HouseServiceTests { 50000.00)); house1 = houseService.create(user2.getId(), new HouseEntity(type2, user2, - "Studia", - "Удобная парковка", 10000.00)); + "Studia", "Удобная парковка", 10000.00)); - house2 = houseService.create(user1.getId(), new HouseEntity(type1, user1, "Flat", - "Very excelent", 4000.00)); + house2 = houseService.create(user1.getId(), new HouseEntity(type1, user1, + "Flat", "Very excelent", 4000.00)); } @AfterEach @@ -131,4 +130,4 @@ class HouseServiceTests { user1.getId()).size()); Assertions.assertNotEquals(house1.getId(), newEntity.getId()); } -} \ No newline at end of file +}