diff --git a/tests/10apidoc/03events-initial.pl b/tests/10apidoc/03events-initial.pl index de4662082..023c0444c 100644 --- a/tests/10apidoc/03events-initial.pl +++ b/tests/10apidoc/03events-initial.pl @@ -226,9 +226,7 @@ sub matrix_sync )->on_done( sub { my ( $body ) = @_; - assert_json_keys( $body, qw( account_data rooms presence next_batch ) ); - assert_json_keys( $body->{presence}, qw( events )); - assert_json_keys( $body->{rooms}, qw( join invite leave ) ); + assert_json_keys( $body, qw( next_batch ) ); if ( $update_next_batch ) { $user->sync_next_batch = $body->{next_batch}; diff --git a/tests/10apidoc/11profile-avatar_url.pl b/tests/10apidoc/11profile-avatar_url.pl index d004fa469..4a9465355 100644 --- a/tests/10apidoc/11profile-avatar_url.pl +++ b/tests/10apidoc/11profile-avatar_url.pl @@ -1,6 +1,6 @@ my $user_fixture = local_user_fixture(); -my $avatar_url = "http://somewhere/my-pic.jpg"; +my $avatar_url = "mxc://example.com/SEsfnsuifSDFSSEF"; test "PUT /profile/:user_id/avatar_url sets my avatar", requires => [ $user_fixture ],