Ability to disable auto-create (#361)

* setting to disable autocreate

* improve test reliability

* update comment

* update to address feedback
This commit is contained in:
David Zhao
2022-01-21 09:57:36 -08:00
committed by GitHub
parent 7f4ead9b25
commit 126bb8867b
13 changed files with 178 additions and 22 deletions
+1
View File
@@ -24,6 +24,7 @@ func TestDeleteRoom(t *testing.T) {
},
}
ctx := context.WithValue(context.Background(), grantsKey, grant)
svc.store.LoadRoomReturns(nil, service.ErrRoomNotFound)
_, err := svc.DeleteRoom(ctx, &livekit.DeleteRoomRequest{
Room: "testroom",
})