Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SanketD92 committed Oct 20, 2021
1 parent d6a0b0d commit 6f4ccce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ describe('ALBService', () => {
});
service.audit = jest.fn();
// OPERATE
await service.updateAlbDependentWorkspaceCount({}, 'test-id', 1);
const totalRules = 2; // including one default rule
await service.updateAlbDependentWorkspaceCount({}, 'test-id', totalRules);

// CHECK
expect(service.saveAlbDetails).toHaveBeenCalledWith(albDetails.id, updatedAlbDetails);
Expand Down

0 comments on commit 6f4ccce

Please sign in to comment.