From 9f8352b3641373fbc73c0e49a11cfbd43a682649 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Tue, 28 Mar 2023 14:28:59 +0200 Subject: [PATCH] Try to forget the room twice --- clientapi/clientapi_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clientapi/clientapi_test.go b/clientapi/clientapi_test.go index 14994bed8..d0923003f 100644 --- a/clientapi/clientapi_test.go +++ b/clientapi/clientapi_test.go @@ -257,6 +257,12 @@ func TestMembership(t *testing.T) { wantOK: true, asUser: bob, }, + { + name: "Bob can forget the room again", + request: httptest.NewRequest(http.MethodPost, fmt.Sprintf("/_matrix/client/v3/rooms/%s/%s", room.ID, "forget"), strings.NewReader("")), + wantOK: true, + asUser: bob, + }, // END must run in sequence }