diff --git a/test/test_Group.cpp b/test/test_Group.cpp index 83b1a01..d0fcfac 100644 --- a/test/test_Group.cpp +++ b/test/test_Group.cpp @@ -292,7 +292,7 @@ TEST(CreateGroup, Zone) TEST(CreateGroup, Room) { - EXPECT_EQ(nlohmann::json({{"lights", {"1"}}, {"type", "Room"}, {"name", "Name"}, {"class", "Bedroom"}, {"class", "Other"}}), + EXPECT_EQ(nlohmann::json({{"lights", {"1"}}, {"type", "Room"}, {"name", "Name"}, {"class", "Bedroom"}}), CreateGroup::Room({1}, "Name", "Bedroom").getRequest()); EXPECT_EQ(nlohmann::json({{"lights", {"1"}}, {"type", "Room"}, {"name", "Name"}, {"class", "Other"}}), CreateGroup::Room({1}, "Name").getRequest());