Skip to content

Commit 11b4a79

Browse files
committed
fix tests
1 parent f5c0cb3 commit 11b4a79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/server/src/api/teams.spec.db.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { v4 as uuidv4 } from "uuid";
2020
import { UserAuthentication } from "../user/user-authentication";
2121
import { WorkspaceService } from "../workspace/workspace-service";
2222
import { API } from "./server";
23+
import { SessionHandler } from "../session-handler";
2324

2425
const expect = chai.expect;
2526

@@ -37,6 +38,7 @@ export class APITeamsServiceSpec {
3738

3839
this.container.bind(WorkspaceService).toConstantValue({} as WorkspaceService);
3940
this.container.bind(UserAuthentication).toConstantValue({} as UserAuthentication);
41+
this.container.bind(SessionHandler).toConstantValue({} as SessionHandler);
4042

4143
// Clean-up database
4244
const typeorm = testContainer.get<TypeORM>(TypeORM);

0 commit comments

Comments
 (0)