Commit d218d9d30d7da422e89ad47967a6b761ee2e7e80
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 | 88 | TEST_F(BridgeFinderTest, GetBridge) |
| 89 | 89 | { |
| 90 | 90 | using namespace ::testing; |
| 91 | - nlohmann::json request {{"devicetype", "HuePlusPlus#User"}}; | |
| 91 | + nlohmann::json request {{"devicetype":"HuePlusPlus#User","generateclientkey":true}}; | |
| 92 | 92 | |
| 93 | 93 | nlohmann::json errorResponse |
| 94 | 94 | = {{{"error", {{"type", 101}, {"address", ""}, {"description", "link button not pressed"}}}}}; |
| ... | ... | @@ -158,7 +158,7 @@ TEST(Bridge, requestUsername) |
| 158 | 158 | { |
| 159 | 159 | using namespace ::testing; |
| 160 | 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 | 164 | nlohmann::json errorResponse | ... | ... |