Fix unit tests

This commit is contained in:
Ramon Wenger 2022-09-15 17:48:14 +02:00
parent c23830ff40
commit 6523c11915
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class ContentBlockFactory(BasePageFactory):
class Meta:
model = ContentBlock
type = factory.LazyAttribute(lambda x: random.choice(['normal', 'base_communication', 'task', 'base_society']))
type = factory.LazyAttribute(lambda x: random.choice(['normal', 'instrument', 'task',]))
contents = wagtail_factories.StreamFieldFactory({
'text_block': TextBlockFactory,