Skip to content

Commit

Permalink
Merge pull request #731 from danielpeintner/remove-obsolete-observe-code
Browse files Browse the repository at this point in the history
refactor: remove obsolete / deprecated code
  • Loading branch information
relu91 authored Apr 8, 2022
2 parents dfb7555 + 0456327 commit 955af7b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 539 deletions.
4 changes: 1 addition & 3 deletions packages/binding-http/test/http-server-oauth-tests.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (c) 2018 Contributors to the Eclipse Foundation
* Copyright (c) 2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
Expand Down Expand Up @@ -66,8 +66,6 @@ class OAuthServerTests {
},
},
});
testThing.extendInteractions();
await testThing.writeProperty("test", "off");
testThing.properties.test.forms = [];

await this.server.expose(testThing);
Expand Down
1 change: 0 additions & 1 deletion packages/binding-http/test/http-server-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ class HttpServerTest {
testThing.setPropertyWriteHandler("test", async (value) => {
test = await value.value();
});
await testThing.writeProperty("test", {});
testThing.properties.test.forms = [];
testThing.setActionHandler("try", (input: WoT.InteractionOutput) => {
return new Promise<string>((resolve, reject) => {
Expand Down
Loading

0 comments on commit 955af7b

Please sign in to comment.