From 32ca16d1ebc80e11742a9f9c7f9727f662c2bd16 Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Fri, 29 Oct 2021 20:14:51 +0200 Subject: [PATCH] Update deprecated delete room admin API --- tests/48admin.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/48admin.pl b/tests/48admin.pl index 749788bcb..1cd51da0c 100644 --- a/tests/48admin.pl +++ b/tests/48admin.pl @@ -381,8 +381,8 @@ sub await_purge_complete { matrix_join_room( $remote_user, $room_id ); })->then( sub { do_request_json_for( $admin, - method => "POST", - full_uri => "/_synapse/admin/v1/rooms/$room_id/delete", + method => "DELETE", + full_uri => "/_synapse/admin/v1/rooms/$room_id", content => { new_room_user_id => $dummy_user->user_id, block => JSON::true,