mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix description length for slugify tests
This commit is contained in:
parent
9cae32e6e1
commit
7682aa7e45
@ -12,6 +12,8 @@ let variables
|
||||
|
||||
const driver = getDriver()
|
||||
const neode = getNeode()
|
||||
const descriptionAddition100 =
|
||||
' 123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789'
|
||||
|
||||
beforeAll(async () => {
|
||||
await cleanDatabase()
|
||||
@ -67,7 +69,7 @@ describe('slugifyMiddleware', () => {
|
||||
...variables,
|
||||
name: 'The Best Group',
|
||||
about: 'Some about',
|
||||
description: 'Some description',
|
||||
description: 'Some description' + descriptionAddition100,
|
||||
groupType: 'closed',
|
||||
actionRadius: 'national',
|
||||
categoryIds,
|
||||
@ -87,7 +89,7 @@ describe('slugifyMiddleware', () => {
|
||||
name: 'The Best Group',
|
||||
slug: 'the-best-group',
|
||||
about: 'Some about',
|
||||
description: 'Some description',
|
||||
description: 'Some description' + descriptionAddition100,
|
||||
groupType: 'closed',
|
||||
actionRadius: 'national',
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user