mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Refine test descriptions for groups
- Cleanup.
This commit is contained in:
parent
92e6cc3f1b
commit
5f081cdb0d
@ -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
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user