Лабораторная 3 (Backend)

This commit is contained in:
Никита Белянин 2024-05-06 15:33:55 +04:00
parent 189d0ed203
commit c39d189584

View File

@ -60,11 +60,10 @@ class HouseServiceTests {
50000.00)); 50000.00));
house1 = houseService.create(user2.getId(), new HouseEntity(type2, user2, house1 = houseService.create(user2.getId(), new HouseEntity(type2, user2,
"Studia", "Studia", "Удобная парковка", 10000.00));
"Удобная парковка", 10000.00));
house2 = houseService.create(user1.getId(), new HouseEntity(type1, user1, "Flat", house2 = houseService.create(user1.getId(), new HouseEntity(type1, user1,
"Very excelent", 4000.00)); "Flat", "Very excelent", 4000.00));
} }
@AfterEach @AfterEach
@ -131,4 +130,4 @@ class HouseServiceTests {
user1.getId()).size()); user1.getId()).size());
Assertions.assertNotEquals(house1.getId(), newEntity.getId()); Assertions.assertNotEquals(house1.getId(), newEntity.getId());
} }
} }