Commit d218d9d30d7da422e89ad47967a6b761ee2e7e80

Authored by Adam Honse
Committed by Moritz Wirger
1 parent 607853e2

Address test comment

Showing 1 changed file with 2 additions and 2 deletions
test/test_Bridge.cpp
@@ -88,7 +88,7 @@ TEST_F(BridgeFinderTest, FindBridges) @@ -88,7 +88,7 @@ TEST_F(BridgeFinderTest, FindBridges)
88 TEST_F(BridgeFinderTest, GetBridge) 88 TEST_F(BridgeFinderTest, GetBridge)
89 { 89 {
90 using namespace ::testing; 90 using namespace ::testing;
91 - nlohmann::json request {{"devicetype", "HuePlusPlus#User"}}; 91 + nlohmann::json request {{"devicetype":"HuePlusPlus#User","generateclientkey":true}};
92 92
93 nlohmann::json errorResponse 93 nlohmann::json errorResponse
94 = {{{"error", {{"type", 101}, {"address", ""}, {"description", "link button not pressed"}}}}}; 94 = {{{"error", {{"type", 101}, {"address", ""}, {"description", "link button not pressed"}}}}};
@@ -158,7 +158,7 @@ TEST(Bridge, requestUsername) @@ -158,7 +158,7 @@ TEST(Bridge, requestUsername)
158 { 158 {
159 using namespace ::testing; 159 using namespace ::testing;
160 std::shared_ptr<MockHttpHandler> handler = std::make_shared<MockHttpHandler>(); 160 std::shared_ptr<MockHttpHandler> handler = std::make_shared<MockHttpHandler>();
161 - nlohmann::json request {{"devicetype", "HuePlusPlus#User"}}; 161 + nlohmann::json request {{"devicetype":"HuePlusPlus#User","generateclientkey":true}};
162 162
163 { 163 {
164 nlohmann::json errorResponse 164 nlohmann::json errorResponse