From 56832aaf24d71b597d4480fde35397e55dcf4926 Mon Sep 17 00:00:00 2001 From: Huiwen Date: Wed, 22 Nov 2023 15:13:34 +0000 Subject: [PATCH] fix build --- components/server/src/api/teams.spec.db.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/server/src/api/teams.spec.db.ts b/components/server/src/api/teams.spec.db.ts index 98469f1f2278ab..413e85d116afa8 100644 --- a/components/server/src/api/teams.spec.db.ts +++ b/components/server/src/api/teams.spec.db.ts @@ -29,6 +29,7 @@ import { ProjectsService } from "../projects/projects-service"; import { AuthProviderService } from "../auth/auth-provider-service"; import { BearerAuth } from "../auth/bearer-authenticator"; import { EnvVarService } from "../user/env-var-service"; +import { SSHKeyService } from "../user/sshkey-service"; const expect = chai.expect; @@ -55,6 +56,7 @@ export class APITeamsServiceSpec { this.container.bind(ProjectsService).toConstantValue({} as ProjectsService); this.container.bind(AuthProviderService).toConstantValue({} as AuthProviderService); this.container.bind(EnvVarService).toConstantValue({} as EnvVarService); + this.container.bind(SSHKeyService).toConstantValue({} as SSHKeyService); // Clean-up database const typeorm = testContainer.get(TypeORM);