File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ import { InstallationService } from "../auth/installation-service";
3939import { RateLimitter } from "../rate-limitter" ;
4040import { Authorizer } from "../authorization/authorizer" ;
4141import { AuditLogService } from "../audit/AuditLogService" ;
42+ import { EntitlementService , EntitlementServiceImpl } from "../billing/entitlement-service" ;
4243
4344const expect = chai . expect ;
4445
@@ -75,6 +76,7 @@ export class APITeamsServiceSpec {
7576 this . container . bind ( RateLimitter ) . toConstantValue ( { } as RateLimitter ) ;
7677 this . container . bind ( Authorizer ) . toConstantValue ( { } as Authorizer ) ;
7778 this . container . bind ( AuditLogService ) . toConstantValue ( { } as AuditLogService ) ;
79+ this . container . bind ( EntitlementService ) . toConstantValue ( { } as EntitlementServiceImpl ) ;
7880
7981 // Clean-up database
8082 const typeorm = testContainer . get < TypeORM > ( TypeORM ) ;
Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ export class OrganizationService {
581581 if ( settings . roleRestrictions ) {
582582 result . roleRestrictions = settings . roleRestrictions ;
583583 }
584- if ( typeof settings . maxParallelRunningWorkspaces === "number" ) {
584+ if ( settings . maxParallelRunningWorkspaces ) {
585585 result . maxParallelRunningWorkspaces = settings . maxParallelRunningWorkspaces ;
586586 }
587587
You can’t perform that action at this time.
0 commit comments