chore: Change the description of existing graphQL tests

This commit is contained in:
Faruk AYDIN
2023-10-14 17:19:25 +02:00
parent 36a72d0a32
commit 706142f98e
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import createRole from '../../../test/fixtures/role';
import createUser from '../../../test/fixtures/user';
import { IRole, IUser } from '@automatisch/types';
describe('getCurrentUser', () => {
describe('graphQL getCurrentUser query', () => {
describe('with unauthorized user', () => {
it('should throw not authorized error', async () => {
const invalidUserToken = 'invalid-token';

View File

@@ -7,7 +7,7 @@ import createPermission from '../../../test/fixtures/permission';
import createUser from '../../../test/fixtures/user';
import { IRole, IUser } from '@automatisch/types';
describe('getUser', () => {
describe('graphQL getUser query', () => {
describe('with unauthorized user', () => {
it('should throw not authorized error', async () => {
const invalidUserId = '123123123';