7

Fix tests

This commit is contained in:
nick.moreton
2022-11-18 16:44:42 +00:00
parent 5642e117f1
commit e31793e748
8 changed files with 41 additions and 24 deletions

View File

@ -5,7 +5,7 @@ import factory
from wagtail_personalisation import models
class SegmentFactory(factory.DjangoModelFactory):
class SegmentFactory(factory.django.DjangoModelFactory):
name = 'TestSegment'
status = models.Segment.STATUS_ENABLED