add ctx to interfaces (#105)
* add ctx to interfaces * use existing context
This commit is contained in:
@@ -73,7 +73,7 @@ func TestWebhooks(t *testing.T) {
|
||||
ts.ClearEvents()
|
||||
|
||||
// room closed
|
||||
rm := server.RoomManager().GetRoom(testRoom)
|
||||
rm := server.RoomManager().GetRoom(context.Background(), testRoom)
|
||||
rm.Close()
|
||||
testutils.WithTimeout(t, "webhook events room_finished", func() bool {
|
||||
if ts.GetEvent(webhook.EventRoomFinished) == nil {
|
||||
|
||||
Reference in New Issue
Block a user