mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Try to forget the room twice
This commit is contained in:
parent
780ba021d5
commit
9f8352b364
|
|
@ -257,6 +257,12 @@ func TestMembership(t *testing.T) {
|
||||||
wantOK: true,
|
wantOK: true,
|
||||||
asUser: bob,
|
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
|
// END must run in sequence
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue