aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authorChristian Fehmer <[email protected]>2024-08-11 12:07:42 +0200
committerGitHub <[email protected]>2024-08-11 12:07:42 +0200
commitef8dfe22726b0ce96ffcb9e21b61e880ac231278 (patch)
tree7a43b00c359642104a06674c5412c1511fcbd193 /backend
parent61c9134030d6b7ce3b1bec7a9e4da07f7cb21206 (diff)
downloadmonkeytype-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.ts2
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);
});