Skip to content

Commit

Permalink
Don't check for presence of non-existing field (#1065)
Browse files Browse the repository at this point in the history
The specification only has a room_id as return value, there is no
room_alias.

Signed-off-by: Kurt Roeckx <[email protected]>
  • Loading branch information
kroeckx authored Jul 6, 2021
1 parent 3abf942 commit 6ef0340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/10apidoc/30room-create.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
)->then( sub {
my ( $body ) = @_;

assert_json_keys( $body, qw( room_id room_alias ));
assert_json_keys( $body, qw( room_id ));
assert_json_nonempty_string( $body->{room_id} );

Future->done(1);
Expand Down

0 comments on commit 6ef0340

Please sign in to comment.