chore: Change the description of existing graphQL tests
This commit is contained in:
@@ -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';
|
||||
|
@@ -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';
|
||||
|
Reference in New Issue
Block a user