File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
components/server/src/api Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ export class API {
303
303
bind ( TeamsServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
304
304
bind ( WorkspaceServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
305
305
bind ( OrganizationServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
306
+ bind ( AuthProviderServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
306
307
bind ( StatsServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
307
308
bind ( API ) . toSelf ( ) . inSingletonScope ( ) ;
308
309
}
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import { Redis } from "ioredis";
25
25
import { UserService } from "../user/user-service" ;
26
26
import { Config } from "../config" ;
27
27
import { OrganizationService } from "../orgs/organization-service" ;
28
+ import { AuthProviderService } from "../auth/auth-provider-service" ;
28
29
29
30
const expect = chai . expect ;
30
31
@@ -47,6 +48,7 @@ export class APITeamsServiceSpec {
47
48
this . container . bind ( Config ) . toConstantValue ( { } as Config ) ;
48
49
this . container . bind ( Redis ) . toConstantValue ( { } as Redis ) ;
49
50
this . container . bind ( UserService ) . toConstantValue ( { } as UserService ) ;
51
+ this . container . bind ( AuthProviderService ) . toConstantValue ( { } as AuthProviderService ) ;
50
52
51
53
// Clean-up database
52
54
const typeorm = testContainer . get < TypeORM > ( TypeORM ) ;
You can’t perform that action at this time.
0 commit comments