Skip to content

Commit

Permalink
Add a basic assertion on the final response.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Mar 3, 2020
1 parent 6576321 commit 7d45396
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/50federation/30room-join.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1055,10 +1055,7 @@ sub assert_is_valid_pdu {
})->then( sub {
my ( $event ) = @_;

# The joining HS (i.e. the SUT) should have invented the event ID
# for my membership event.

# TODO - sanity check the $event
assert_json_keys( $event->{content}, qw( membership ) );

Future->done(1);
}),
Expand Down

0 comments on commit 7d45396

Please sign in to comment.