diff options
| author | Charles Roelli <charles@aurox.ch> | 2026-05-15 13:15:04 +0000 |
|---|---|---|
| committer | Charles Roelli <charles@aurox.ch> | 2026-05-15 13:15:04 +0000 |
| commit | 431a34f195c6dff10c57c468694800c68d8399a5 (patch) | |
| tree | a0fd8eebbff5221d2f72c3f841a956a95642ce13 /docs/tests | |
| parent | c7c0a47954663d1d8661f085b25c658817b5122d (diff) | |
Use the database for docs renderingissue-1630
Co-authored-by: Paolo Melchiorre <pmelchiorre@rippling.com>
Diffstat (limited to 'docs/tests')
| -rw-r--r-- | docs/tests/test_templates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tests/test_templates.py b/docs/tests/test_templates.py index 22abd057..5f28fc86 100644 --- a/docs/tests/test_templates.py +++ b/docs/tests/test_templates.py @@ -214,12 +214,12 @@ class TemplateTestCase(TestCase): def test_opengraph_title(self): doc = Document.objects.create( + metadata={"body": "test body"}, release=DocumentRelease.objects.create( lang=settings.DEFAULT_LANGUAGE_CODE, release=Release.objects.create(version="5.0"), ), ) - doc.body = "test body" # avoids trying to load the underlying physical file for title, expected in [ ("test title", "test title"), |
