Skip to content

Commit

Permalink
fix test for get definition
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Van Haerenborgh <dirk.vanhaerenborgh@aloxy.io>
  • Loading branch information
vhdirk committed Feb 5, 2021
1 parent 3623388 commit 87f15a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion javascript/lib/api/src/client/handles/things.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class DefaultThingsHandle implements WebSocketThingsHandle, HttpThingsHan
verb: 'PUT',
parser: String,
id: thingId,
path: 'policyId',
path: 'definition',
requestOptions: options,
payload: definition
});
Expand Down
3 changes: 1 addition & 2 deletions javascript/lib/api/tests/client/http/things.http.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ describe('Http Things Handle', () => {
expected: 'example:test:definition',
request: `${baseRequest}/definition`,
method: 'get',
status: 200,
api: 1
status: 200
});
});

Expand Down

0 comments on commit 87f15a4

Please sign in to comment.