diff --git a/apps/api/src/security/security.controller.spec.ts b/apps/api/src/security/security.controller.spec.ts index 5131476..ff663b9 100644 --- a/apps/api/src/security/security.controller.spec.ts +++ b/apps/api/src/security/security.controller.spec.ts @@ -12,6 +12,7 @@ import { HasOrganizationAccessPipe } from './pipes/has-organization-access.pipe' import { SecurityValidationPipe } from './pipes/security-validation.pipe'; import { SecurityController } from './security.controller'; import { SecurityService } from './security.service'; +import { HasOwnerAccessPipe } from './pipes/has-owner-access.pipe'; describe('SecurityController', () => { let controller: SecurityController; @@ -41,6 +42,8 @@ describe('SecurityController', () => { .useValue(MockSecurityPipe) .overridePipe(HasOrganizationAccessPipe) .useValue(MockSecurityPipe) + .overridePipe(HasOwnerAccessPipe) + .useValue(MockSecurityPipe) .compile(); controller = module.get(SecurityController);