Skip to content

Commit

Permalink
Fix ThingCommandEnforcementTest
Browse files Browse the repository at this point in the history
Signed-off-by: Yannic Klem <Yannic.Klem@bosch.io>
  • Loading branch information
Yannic92 committed Jun 28, 2022
1 parent 0de1b4c commit 1c9d543
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public void rejectUpdateByPolicyNotAccessibleException() {
expectAndAnswerSudoRetrieveThing(sudoRetrieveThingResponse);
expectAndAnswerSudoRetrievePolicy(policyId, PolicyNotAccessibleException.newBuilder(policyId).build());

final DittoRuntimeException error = TestSetup.fishForMsgClass(this, ThingNotAccessibleException.class);
final DittoRuntimeException error = TestSetup.fishForMsgClass(this, ThingNotModifiableException.class);
assertThat(error.getMessage()).contains(THING_ID);
}};
}
Expand Down

0 comments on commit 1c9d543

Please sign in to comment.