Skip to content

Commit

Permalink
test amendment to account for removal of template tag
Browse files Browse the repository at this point in the history
  • Loading branch information
markj0hnst0n committed Dec 10, 2024
1 parent 6e22238 commit 46d20e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/letter_templates/tests/test_letter_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_refusal_template(self):

self.assertIn("Test Good 1", rendered_template)

self.assertIn("Test Good 2\n Another line", rendered_template)
self.assertIn("Test Good 2, Another line", rendered_template)
self.assertIn("Criterion 1", rendered_template)
self.assertIn("Test Description 1", rendered_template)

Expand Down Expand Up @@ -59,7 +59,7 @@ def test_siel_template_uses_correct_quantity_and_value(self):
{"goods": goods_data},
)

self.assertIn("Test Good 2\n Another line", rendered_template)
self.assertIn("Test Good 2, Another line", rendered_template)
self.assertIn("999111", rendered_template)
self.assertIn("999222", rendered_template)
self.assertNotIn("555111", rendered_template)
Expand Down

0 comments on commit 46d20e3

Please sign in to comment.