Room Allocator Interface (#161)

* room allocator interface

* remove wire bind

* fix test
This commit is contained in:
Mathew Kamkar
2021-10-28 21:02:17 -07:00
committed by GitHub
parent 0898c17e8a
commit f3e916e2fe
7 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func TestCreateRoom(t *testing.T) {
})
}
func newTestRoomAllocator(t *testing.T) (*service.RoomAllocator, *config.Config) {
func newTestRoomAllocator(t *testing.T) (service.RoomAllocator, *config.Config) {
store := &servicefakes.FakeRoomStore{}
store.LoadRoomReturns(nil, service.ErrRoomNotFound)
router := &routingfakes.FakeRouter{}