Skip to content

Commit 42f41fc

Browse files
committed
[server] Fix tests
1 parent a8dc1cd commit 42f41fc

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
@@ -27,6 +27,7 @@ import { Config } from "../config";
2727
import { OrganizationService } from "../orgs/organization-service";
2828
import { ProjectsService } from "../projects/projects-service";
2929
import { AuthProviderService } from "../auth/auth-provider-service";
30+
import { BearerAuth } from "../auth/bearer-authenticator";
3031

3132
const expect = chai.expect;
3233

@@ -45,6 +46,7 @@ export class APITeamsServiceSpec {
4546
this.container.bind(WorkspaceService).toConstantValue({} as WorkspaceService);
4647
this.container.bind(OrganizationService).toConstantValue({} as OrganizationService);
4748
this.container.bind(UserAuthentication).toConstantValue({} as UserAuthentication);
49+
this.container.bind(BearerAuth).toConstantValue({} as BearerAuth);
4850
this.container.bind(SessionHandler).toConstantValue({} as SessionHandler);
4951
this.container.bind(Config).toConstantValue({} as Config);
5052
this.container.bind(Redis).toConstantValue({} as Redis);

0 commit comments

Comments
 (0)