Refine test descriptions for groups

- Cleanup.
This commit is contained in:
Wolfgang Huß 2022-09-05 09:19:07 +02:00
parent 92e6cc3f1b
commit 5f081cdb0d
2 changed files with 2 additions and 4 deletions

View File

@ -37,7 +37,6 @@ export const createGroupMutation = gql`
groupType
actionRadius
categories {
# test this as result
id
slug
name
@ -84,7 +83,6 @@ export const updateGroupMutation = gql`
groupType
actionRadius
categories {
# test this as result
id
slug
name

View File

@ -166,7 +166,7 @@ describe('in mode', () => {
describe('description', () => {
describe('length without HTML', () => {
describe('less then 100 chars', () => {
it('throws error: "Too view categories!"', async () => {
it('throws error: "Description too short!"', async () => {
const { errors } = await mutate({
mutation: createGroupMutation,
variables: {
@ -2211,7 +2211,7 @@ describe('in mode', () => {
describe('description', () => {
describe('length without HTML', () => {
describe('less then 100 chars', () => {
it('throws error: "Too view categories!"', async () => {
it('throws error: "Description too short!"', async () => {
const { errors } = await mutate({
mutation: updateGroupMutation,
variables: {