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
|
groupType
|
||||||
actionRadius
|
actionRadius
|
||||||
categories {
|
categories {
|
||||||
# test this as result
|
|
||||||
id
|
id
|
||||||
slug
|
slug
|
||||||
name
|
name
|
||||||
@ -84,7 +83,6 @@ export const updateGroupMutation = gql`
|
|||||||
groupType
|
groupType
|
||||||
actionRadius
|
actionRadius
|
||||||
categories {
|
categories {
|
||||||
# test this as result
|
|
||||||
id
|
id
|
||||||
slug
|
slug
|
||||||
name
|
name
|
||||||
|
|||||||
@ -166,7 +166,7 @@ describe('in mode', () => {
|
|||||||
describe('description', () => {
|
describe('description', () => {
|
||||||
describe('length without HTML', () => {
|
describe('length without HTML', () => {
|
||||||
describe('less then 100 chars', () => {
|
describe('less then 100 chars', () => {
|
||||||
it('throws error: "Too view categories!"', async () => {
|
it('throws error: "Description too short!"', async () => {
|
||||||
const { errors } = await mutate({
|
const { errors } = await mutate({
|
||||||
mutation: createGroupMutation,
|
mutation: createGroupMutation,
|
||||||
variables: {
|
variables: {
|
||||||
@ -2211,7 +2211,7 @@ describe('in mode', () => {
|
|||||||
describe('description', () => {
|
describe('description', () => {
|
||||||
describe('length without HTML', () => {
|
describe('length without HTML', () => {
|
||||||
describe('less then 100 chars', () => {
|
describe('less then 100 chars', () => {
|
||||||
it('throws error: "Too view categories!"', async () => {
|
it('throws error: "Description too short!"', async () => {
|
||||||
const { errors } = await mutate({
|
const { errors } = await mutate({
|
||||||
mutation: updateGroupMutation,
|
mutation: updateGroupMutation,
|
||||||
variables: {
|
variables: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user