Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove user_id from expected keys in /search results #1281

Merged
merged 1 commit into from
Aug 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/43search.pl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

assert_json_keys( $result, qw( rank result ) );
assert_json_keys( $result->{result}, qw(
event_id room_id user_id content type
event_id room_id content type
));

$result->{result}{content}{body} eq "hello, world"
Expand Down Expand Up @@ -288,7 +288,7 @@

assert_json_keys( $result, qw( rank result ) );
assert_json_keys( $result->{result}, qw(
event_id room_id user_id content type
event_id room_id content type
));

$result->{result}{content}{body} eq "message 1"
Expand All @@ -298,7 +298,7 @@

assert_json_keys( $result_two, qw( rank result ) );
assert_json_keys( $result_two->{result}, qw(
event_id room_id user_id content type
event_id room_id content type
));

$result_two->{result}{content}{body} eq "message 2"
Expand Down Expand Up @@ -367,7 +367,7 @@

assert_json_keys( $result, qw( rank result ) );
assert_json_keys( $result->{result}, qw(
event_id room_id user_id content type
event_id room_id content type
));

$result->{result}{content}{body} eq "message 2"
Expand Down