assert acessKey has changed

This commit is contained in:
Ben Irvin 2022-08-22 12:22:36 +02:00
parent 7ce7db6604
commit dabbd42ca7

View File

@ -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');