Fix test data

This commit is contained in:
Gabriel Augendre 2020-08-24 23:49:35 +02:00
parent c49c11a23c
commit ee0289382c

View file

@ -14,7 +14,7 @@ def author():
@pytest.mark.django_db
def published_article(author):
return Article.objects.create(
title="Some interesting title",
title="Some interesting article title",
status=Article.PUBLISHED,
author=author,
published_at=timezone.now(),
@ -27,7 +27,7 @@ def published_article(author):
@pytest.mark.django_db
def published_page(author):
return Page.objects.create(
title="Some interesting title",
title="Some interesting page title",
status=Article.PUBLISHED,
author=author,
published_at=timezone.now(),