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 be15048 commit ed7c8e5
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 ed7c8e5

Please sign in to comment.