diff --git a/tests/51media/48admin-quarantine.pl b/tests/51media/48admin-quarantine.pl index be82e81dd..ff808c8ba 100644 --- a/tests/51media/48admin-quarantine.pl +++ b/tests/51media/48admin-quarantine.pl @@ -44,7 +44,7 @@ })->then( sub { do_request_json_for( $admin, method => "POST", - full_uri => "/_synapse/admin/v1/quarantine_media/$room_id", + full_uri => "/_synapse/admin/v1/room/$room_id/media/quarantine", content => {}, ); })->SyTest::pass_on_done( "Quarantine returns success" )