From 7b389e49a9bdb724bb476ba8c19f0d265ceb34db Mon Sep 17 00:00:00 2001 From: Ben Irvin Date: Tue, 23 Aug 2022 13:03:15 +0200 Subject: [PATCH] add test todos --- .../core/admin/server/tests/admin-api-token.test.e2e.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/core/admin/server/tests/admin-api-token.test.e2e.js b/packages/core/admin/server/tests/admin-api-token.test.e2e.js index 439cfc50ba..e0861c4355 100644 --- a/packages/core/admin/server/tests/admin-api-token.test.e2e.js +++ b/packages/core/admin/server/tests/admin-api-token.test.e2e.js @@ -624,8 +624,10 @@ describe('Admin API Token v2 CRUD (e2e)', () => { }); test.todo('Regenerated access key works'); - test.todo('Tokens access content for which they are authorized'); - test.todo('Tokens fail to access content for which they are not authorized'); + test.todo('Custom tokens access content for which they are authorized'); + test.todo('Custom tokens fail to access content for which they are not authorized'); test.todo('Sets expiration time correctly'); test.todo("Doesn't have expiration if not set"); + test.todo("Expired token can't be used"); + test.todo('Custom token can only be created with valid permissions that exist'); });