Skip to content

Commit

Permalink
fixed unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Jul 14, 2022
1 parent 388453f commit ebc615d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,8 @@ public void testAppendingConnectionIdToResponses() {
sender.ref()),
ActorRef.noSender()
);
final DeleteThingResponse receivedResponse = expectMsgClass(DeleteThingResponse.class);
final DeleteThingResponse receivedResponse =
(DeleteThingResponse) expectMsgClass(InboundSignal.class).getSignal();
assertThat(receivedResponse.getDittoHeaders().getChannel()).contains(TopicPath.Channel.LIVE.getName());
assertThat(receivedResponse.getDittoHeaders().get(DittoHeaderDefinition.CONNECTION_ID.getKey()))
.isEqualTo(CONNECTION_ID.toString());
Expand Down

0 comments on commit ebc615d

Please sign in to comment.