Skip to content

Commit

Permalink
chore: add test case for apekey permission bug (@fehmer) (monkeytypeg…
Browse files Browse the repository at this point in the history
  • Loading branch information
fehmer authored Aug 11, 2024
1 parent 61c9134 commit ef8dfe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/__tests__/api/controllers/ape-key.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe("ApeKeyController", () => {

beforeEach(async () => {
await enableApeKeysEndpoints(true);
getUserMock.mockResolvedValue(user(uid, { canManageApeKeys: true }));
getUserMock.mockResolvedValue(user(uid, {}));
vi.useFakeTimers();
vi.setSystemTime(1000);
});
Expand Down

0 comments on commit ef8dfe2

Please sign in to comment.