update test names

This commit is contained in:
Ben Irvin 2022-08-09 10:23:15 +02:00
parent 8cc144679d
commit e3bd58c69a

View File

@ -169,7 +169,7 @@ describe('Admin API Token v2 CRUD (e2e)', () => {
test('Creates a custom api token (successfully)', async () => {
const body = {
name: 'api-token_tests-custom',
name: 'api-token_tests-customSuccess',
description: 'api-token_tests-description',
type: 'custom',
permissions: ['admin::subject.action', 'plugin::foo.bar.action'],
@ -193,9 +193,9 @@ describe('Admin API Token v2 CRUD (e2e)', () => {
});
});
test.skip('Fails to create a custom api token without permissions', async () => {
test('Fails to create a custom api token without permissions', async () => {
const body = {
name: 'api-token_tests-custom',
name: 'api-token_tests-customFail',
description: 'api-token_tests-description',
type: 'custom',
permissions: [],