mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 02:53:22 +00:00
fix typo
This commit is contained in:
parent
31d74d2710
commit
5bc7c4462a
@ -23,7 +23,7 @@ const { createAuthRequest } = require('../../../../../test/helpers/request');
|
|||||||
* 13. Updates a token with partial payload (successfully)
|
* 13. Updates a token with partial payload (successfully)
|
||||||
* 14. Fails to update an api token (invalid `type` in the body)
|
* 14. Fails to update an api token (invalid `type` in the body)
|
||||||
* 15. Updates a token when passing a `null` description (successfully)
|
* 15. Updates a token when passing a `null` description (successfully)
|
||||||
* 16. Updates a token but not the description of no description is passed (successfully)
|
* 16. Updates a token but not the description if no description is passed (successfully)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
describe('Admin API Token CRUD (e2e)', () => {
|
describe('Admin API Token CRUD (e2e)', () => {
|
||||||
@ -353,7 +353,7 @@ describe('Admin API Token CRUD (e2e)', () => {
|
|||||||
apiTokens[0] = res.body.data;
|
apiTokens[0] = res.body.data;
|
||||||
});
|
});
|
||||||
|
|
||||||
test('16. Updates a token but not the description of no description is passed (successfully)', async () => {
|
test('16. Updates a token but not the description if no description is passed (successfully)', async () => {
|
||||||
const body = {
|
const body = {
|
||||||
name: 'api-token_tests-name',
|
name: 'api-token_tests-name',
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user