mirror of
https://github.com/strapi/strapi.git
synced 2025-12-24 13:43:41 +00:00
assert acessKey has changed
This commit is contained in:
parent
7ce7db6604
commit
dabbd42ca7
@ -621,6 +621,7 @@ describe('Admin API Token v2 CRUD (e2e)', () => {
|
||||
expect(res.body.data).toMatchObject({
|
||||
accessKey: expect.any(String),
|
||||
});
|
||||
expect(res.body.data.accessKey).not.toEqual(token.accessKey);
|
||||
});
|
||||
|
||||
test.todo('Regenerated access key works');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user