Skip to content

Commit

Permalink
fix test after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
euguuu committed Oct 12, 2023
1 parent ebb7317 commit 730da29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/test/lib/device/device.destroyByServiceId.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('Device', () => {

it('should destroy device', async () => {
const serviceManager = new ServiceManager({}, stateManager);
const device = new Device(event, {}, stateManager, serviceManager, {}, {}, job);
const device = new Device(event, {}, stateManager, serviceManager, {}, { getValue: () => undefined }, job);
await device.create({
name: 'test-device-destroyByServiceId',
external_id: 'test-device-new-destroyByServiceId',
Expand Down
2 changes: 1 addition & 1 deletion server/test/lib/device/device.setParam.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Device', () => {
const stateManager = new StateManager(event);

const serviceManager = new ServiceManager({}, stateManager);
const device = new Device(event, {}, stateManager, serviceManager, {}, {}, job);
const device = new Device(event, {}, stateManager, serviceManager, {}, { getValue: () => undefined }, job);
let testDevice = await device.get({ search: 'test' });
await device.setParam(testDevice[0], 'testParamName', 'testParamValue');
await device.setParam(testDevice[0], 'testParamName2', 'testParamValue2');
Expand Down

0 comments on commit 730da29

Please sign in to comment.