Skip to content

Commit a388007

Browse files
committed
lazy mock out for now
1 parent 7b01751 commit a388007

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/AdminRoomTest.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ function createAdminRoom(data: any = {admin_user: "@admin:bar"}): [AdminRoom, In
1414
if (!data.admin_user) {
1515
data.admin_user = "@admin:bar";
1616
}
17-
const tokenStore = new UserTokenStore("notapath", intent, DefaultConfig);
18-
return [new AdminRoom(ROOM_ID, data, NotifFilter.getDefaultContent(), intent, tokenStore, DefaultConfig, {} as ConnectionManager), intent];
17+
return [new AdminRoom(ROOM_ID, data, NotifFilter.getDefaultContent(), intent, {} as UserTokenStore, DefaultConfig, {} as ConnectionManager), intent];
1918
}
2019

2120
describe("AdminRoom", () => {

0 commit comments

Comments
 (0)