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 Feb 28, 2020
1 parent 10f2dfb commit 1063c24
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 1063c24

Please sign in to comment.