Skip to content

Commit

Permalink
test: test ConsumedThing destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Mar 27, 2022
1 parent dcd455e commit fe1a63d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/core/consumed_thing_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -263,5 +263,8 @@ void main() {
// same value is provided as an input
expect(consumedThing.readProperty("status2", interactionOptions),
throwsA(TypeMatcher<ArgumentError>()));

await servient.shutdown();
expect(servient.destroyConsumedThing(parsedTd.identifier), false);
});
}

0 comments on commit fe1a63d

Please sign in to comment.