aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-03-29 18:43:20 +0800
committerGravatar kosayoda <[email protected]>2021-03-29 18:43:20 +0800
commitbc90ff58fd97b5b90a5adb6820f340fdbb9e2b1a (patch)
tree65e369cb82db52d556ce8aa92a6ce3283c8c0297 /pydis_site/apps/content/tests/helpers.py
parentAllow adding a table of contents to a page. (diff)
Fix failing tests.
Diffstat (limited to 'pydis_site/apps/content/tests/helpers.py')
-rw-r--r--pydis_site/apps/content/tests/helpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/content/tests/helpers.py b/pydis_site/apps/content/tests/helpers.py
index 4e0cca34..be91b95a 100644
--- a/pydis_site/apps/content/tests/helpers.py
+++ b/pydis_site/apps/content/tests/helpers.py
@@ -16,7 +16,7 @@ MARKDOWN_WITHOUT_METADATA = """#This is a header."""
# Valid YAML in a _info.yml file
CATEGORY_INFO = """
-name: Category Name
+title: Category Name
description: Description
"""
@@ -36,7 +36,7 @@ PARSED_METADATA = {
}
# The YAML data parsed from the above _info.yml file
-PARSED_CATEGORY_INFO = {"name": "Category Name", "description": "Description"}
+PARSED_CATEGORY_INFO = {"title": "Category Name", "description": "Description"}
class MockPagesTestCase(TestCase):