Fix unit tests
This commit is contained in:
parent
c23830ff40
commit
6523c11915
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue