Skip to content

Commit

Permalink
Fix SecurityController tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MrBartusek committed May 19, 2024
1 parent 3142aed commit 675c7dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/api/src/security/security.controller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -41,6 +42,8 @@ describe('SecurityController', () => {
.useValue(MockSecurityPipe)
.overridePipe(HasOrganizationAccessPipe)
.useValue(MockSecurityPipe)
.overridePipe(HasOwnerAccessPipe)
.useValue(MockSecurityPipe)
.compile();

controller = module.get<SecurityController>(SecurityController);
Expand Down

0 comments on commit 675c7dd

Please sign in to comment.