aboutsummaryrefslogtreecommitdiffstats
path: root/t/fixtures
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-06-12 15:11:28 -0400
committerBrian Cully <bjc@kublai.com>2022-06-12 15:13:34 -0400
commit0718a13ba8225c9d180b3207470876d048184310 (patch)
tree33a2080eac997e8304d729d6743ff98103e6eed2 /t/fixtures
parent575c0485c4939922bab313da666a8a18d80c065e (diff)
downloadspamcat-0718a13ba8225c9d180b3207470876d048184310.tar.gz
spamcat-0718a13ba8225c9d180b3207470876d048184310.zip
Allow flagging infinite sends by setting remaing count to -1.
Diffstat (limited to 't/fixtures')
-rw-r--r--t/fixtures/always-allowed14
-rw-r--r--t/fixtures/always-allowed.expected14
2 files changed, 28 insertions, 0 deletions
diff --git a/t/fixtures/always-allowed b/t/fixtures/always-allowed
new file mode 100644
index 0000000..b383d1a
--- /dev/null
+++ b/t/fixtures/always-allowed
@@ -0,0 +1,14 @@
+Return-Path: <test@mta.example.com>
+Delivered-To: spamcat@example.com
+Received: from mta.example.com
+ by mta.example.com (Dovecot) with LMTP id 9DDcI25oblTvgAEAQc1eRg
+ for <spamcat@example.com>; Thu, 20 Nov 2014 17:17:18 -0500
+Received: by mta.example.com (Postfix, from userid 1001)
+ id 844956F1EE; Thu, 20 Nov 2014 17:17:18 -0500 (EST)
+To: always-allowed@spamcat.example.com
+Subject: test
+Message-Id: <always-allowed@mta.example.com>
+Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
+From: sender@example.com (Spamcat Sender)
+
+Sample email.
diff --git a/t/fixtures/always-allowed.expected b/t/fixtures/always-allowed.expected
new file mode 100644
index 0000000..b383d1a
--- /dev/null
+++ b/t/fixtures/always-allowed.expected
@@ -0,0 +1,14 @@
+Return-Path: <test@mta.example.com>
+Delivered-To: spamcat@example.com
+Received: from mta.example.com
+ by mta.example.com (Dovecot) with LMTP id 9DDcI25oblTvgAEAQc1eRg
+ for <spamcat@example.com>; Thu, 20 Nov 2014 17:17:18 -0500
+Received: by mta.example.com (Postfix, from userid 1001)
+ id 844956F1EE; Thu, 20 Nov 2014 17:17:18 -0500 (EST)
+To: always-allowed@spamcat.example.com
+Subject: test
+Message-Id: <always-allowed@mta.example.com>
+Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
+From: sender@example.com (Spamcat Sender)
+
+Sample email.