Skip to content

Commit

Permalink
Fix integration tests due to new user defined state support. Just use…
Browse files Browse the repository at this point in the history
… some mocked data for that.
  • Loading branch information
holomekc committed Dec 2, 2023
1 parent 888ad1a commit 2cfccb8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,18 @@ mock.get('/smarthome/climate/schedule/roomClimateControl_hz_1/HEATING', (req, re
});
});

mock.get('/smarthome/userdefinedstates', (req, res) => {
res.json([
{
'deleted': false,
'@type': 'userDefinedState',
'name': 'Test123',
'id': 'd97014f1-2eeb-41ca-bd91-39b0f64e7908',
'state': true
}
]);
});

httpsServer.listen(8444, () => {
});

Expand Down

0 comments on commit 2cfccb8

Please sign in to comment.