Commit 004f0eb4bce38d801db0ec95076bebc5f893e827
Committed by
Moritz Wirger
1 parent
74f8c073
Fix test for specific room type.
Showing
1 changed file
with
1 additions
and
1 deletions
test/test_Group.cpp
| @@ -292,7 +292,7 @@ TEST(CreateGroup, Zone) | @@ -292,7 +292,7 @@ TEST(CreateGroup, Zone) | ||
| 292 | 292 | ||
| 293 | TEST(CreateGroup, Room) | 293 | TEST(CreateGroup, Room) |
| 294 | { | 294 | { |
| 295 | - EXPECT_EQ(nlohmann::json({{"lights", {"1"}}, {"type", "Room"}, {"name", "Name"}, {"class", "Bedroom"}, {"class", "Other"}}), | 295 | + EXPECT_EQ(nlohmann::json({{"lights", {"1"}}, {"type", "Room"}, {"name", "Name"}, {"class", "Bedroom"}}), |
| 296 | CreateGroup::Room({1}, "Name", "Bedroom").getRequest()); | 296 | CreateGroup::Room({1}, "Name", "Bedroom").getRequest()); |
| 297 | EXPECT_EQ(nlohmann::json({{"lights", {"1"}}, {"type", "Room"}, {"name", "Name"}, {"class", "Other"}}), | 297 | EXPECT_EQ(nlohmann::json({{"lights", {"1"}}, {"type", "Room"}, {"name", "Name"}, {"class", "Other"}}), |
| 298 | CreateGroup::Room({1}, "Name").getRequest()); | 298 | CreateGroup::Room({1}, "Name").getRequest()); |