From 82c6986ce337d2b98e54f5452efd3ddc737f05d8 Mon Sep 17 00:00:00 2001 From: Brad Harris Date: Tue, 7 Nov 2023 15:00:33 +0000 Subject: [PATCH] adding missing binding --- 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 a15a8a74e45c33..b6e3e65752317a 100644 --- a/components/server/src/api/teams.spec.db.ts +++ b/components/server/src/api/teams.spec.db.ts @@ -25,6 +25,7 @@ import { Redis } from "ioredis"; import { UserService } from "../user/user-service"; import { Config } from "../config"; import { OrganizationService } from "../orgs/organization-service"; +import { ProjectsService } from "../projects/projects-service"; const expect = chai.expect; @@ -47,6 +48,7 @@ export class APITeamsServiceSpec { this.container.bind(Config).toConstantValue({} as Config); this.container.bind(Redis).toConstantValue({} as Redis); this.container.bind(UserService).toConstantValue({} as UserService); + this.container.bind(ProjectsService).toConstantValue({} as ProjectsService); // Clean-up database const typeorm = testContainer.get(TypeORM);