summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2020-01-30 13:23:51 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2020-01-30 13:25:15 +0100
commitd0e5c3db693296ed7e909c3a0a4457d1328d87de (patch)
treec75b3cb4774a8007fa06ac1420620bf88ec7b47a
parent4ececd6041133ea9745261b7a2ac0da1e8976e21 (diff)
downloadaur-d0e5c3db693296ed7e909c3a0a4457d1328d87de.tar.gz
aur-d0e5c3db693296ed7e909c3a0a4457d1328d87de.tar.xz
t2500: fix test cases
Since commit eeaa1c3 (Separate text from footer in notification emails, 2020-01-04), information about unsubscribing from notifications is added in a signature block. Fix the test cases accordingly. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rwxr-xr-xtest/t2500-notify.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/t2500-notify.sh b/test/t2500-notify.sh
index 3080dc24..380e65b8 100755
--- a/test/t2500-notify.sh
+++ b/test/t2500-notify.sh
@@ -101,6 +101,7 @@ test_expect_success 'Test subject and body of comment notifications.' '
This is a test comment.
+ --
If you no longer wish to receive notifications about this package,
please go to the package page [2] and select "Disable notifications".
@@ -126,6 +127,7 @@ test_expect_success 'Test subject and body of update notifications.' '
cat <<-EOD >expected &&
user [1] pushed a new commit to foobar [2].
+ --
If you no longer wish to receive notifications about this package,
please go to the package page [2] and select "Disable notifications".
@@ -264,6 +266,7 @@ test_expect_success 'Test subject and body of merge notifications.' '
cat <<-EOD >expected &&
user [1] merged foobar [2] into foobar2 [3].
+ --
If you no longer wish receive notifications about the new package,
please go to [3] and click "Disable notifications".