Fix bug where diff and diff_full were switched in notification templates. (#380)

This commit is contained in:
Travis Howse
2022-01-21 21:26:08 +10:00
committed by GitHub
parent af8efbb6d2
commit abe88192f4
2 changed files with 4 additions and 3 deletions

View File

@@ -123,7 +123,8 @@ def test_check_notification(client, live_server):
assert test_url in notification_submission
# Diff was correctly executed
assert "Diff Full: (changed) Which is across multiple lines" in notification_submission
assert "Diff Full: Some initial text" in notification_submission
assert "Diff: (changed) Which is across multiple lines" in notification_submission
assert "(-> into) which has this one new line" in notification_submission