Fix test data

This commit is contained in:
Gabriel Augendre 2020-08-18 10:05:09 +02:00
parent cd550e7fae
commit c3c37092df

View file

@ -18,8 +18,8 @@ def published_article(author):
status=Article.PUBLISHED, status=Article.PUBLISHED,
author=author, author=author,
published_at=timezone.now(), published_at=timezone.now(),
slug="some-slug", slug="some-article-slug",
content="# some markdown\n\n[a link](https://example.com)", content="## some article markdown\n\n[an article link](https://article.com)",
) )
@ -31,6 +31,6 @@ def published_page(author):
status=Article.PUBLISHED, status=Article.PUBLISHED,
author=author, author=author,
published_at=timezone.now(), published_at=timezone.now(),
slug="some-slug", slug="some-page-slug",
content="# some markdown\n\n[a link](https://example.com)", content="## some page markdown\n\n[a page link](https://page.com)",
) )