From 004f0eb4bce38d801db0ec95076bebc5f893e827 Mon Sep 17 00:00:00 2001 From: Dan Keenan Date: Sun, 20 Feb 2022 11:45:20 -0500 Subject: [PATCH] Fix test for specific room type. --- test/test_Group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- libgit2 0.21.4