diff options
author | Christian Fehmer <[email protected]> | 2024-08-11 12:07:42 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-11 12:07:42 +0200 |
commit | ef8dfe22726b0ce96ffcb9e21b61e880ac231278 (patch) | |
tree | 7a43b00c359642104a06674c5412c1511fcbd193 /backend | |
parent | 61c9134030d6b7ce3b1bec7a9e4da07f7cb21206 (diff) | |
download | monkeytype-ef8dfe22726b0ce96ffcb9e21b61e880ac231278.tar.gz monkeytype-ef8dfe22726b0ce96ffcb9e21b61e880ac231278.zip |
chore: add test case for apekey permission bug (@fehmer) (#5762)
Diffstat (limited to 'backend')
-rw-r--r-- | backend/__tests__/api/controllers/ape-key.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/__tests__/api/controllers/ape-key.spec.ts b/backend/__tests__/api/controllers/ape-key.spec.ts index 4855ee5f4..5f33d32fe 100644 --- a/backend/__tests__/api/controllers/ape-key.spec.ts +++ b/backend/__tests__/api/controllers/ape-key.spec.ts @@ -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); }); |