diff --git a/packages/core/admin/server/controllers/__tests__/api-token.test.js b/packages/core/admin/server/controllers/__tests__/api-token.test.js index b6fe7fd7f8..d17e319201 100644 --- a/packages/core/admin/server/controllers/__tests__/api-token.test.js +++ b/packages/core/admin/server/controllers/__tests__/api-token.test.js @@ -177,7 +177,7 @@ describe('API Token Controller', () => { expect(send).toHaveBeenCalledWith({ data: token }); }); - test('Fails if the API token does not exists', async () => { + test('Fails if the API token does not exist', async () => { const get = jest.fn().mockResolvedValue(null); const notFound = jest.fn(); const ctx = createContext({ params: { id: token.id } }, { notFound }); diff --git a/packages/core/admin/server/services/__tests__/api-token.test.js b/packages/core/admin/server/services/__tests__/api-token.test.js index aad8ab4d56..ee9f9e0921 100644 --- a/packages/core/admin/server/services/__tests__/api-token.test.js +++ b/packages/core/admin/server/services/__tests__/api-token.test.js @@ -225,7 +225,7 @@ describe('API Token', () => { expect(res).toEqual(token); }); - test('It returns `null` if the resource does not exists', async () => { + test('It returns `null` if the resource does not exist', async () => { const findOne = jest.fn().mockResolvedValue(null); global.strapi = { 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 899c1da889..5fbe89d5fe 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 @@ -17,7 +17,7 @@ const { createAuthRequest } = require('../../../../../test/helpers/request'); * 7. Deletes a token (successfully) * 8. Does not return an error if the ressource does not exist * 9. Retrieves a token (successfully) - * 10. Returns a 404 if the ressource does not exists + * 10. Returns a 404 if the ressource does not exist */ describe('Admin API Token CRUD (e2e)', () => { @@ -220,7 +220,7 @@ describe('Admin API Token CRUD (e2e)', () => { }); }); - test('10. Returns a 404 if the ressource does not exists', async () => { + test('10. Returns a 404 if the ressource does not exist', async () => { const res = await rq({ url: '/admin/api-tokens/42', method: 'GET',