aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-23 18:34:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-23 18:34:04 +0100
commit549b34b1970ab04911bab8e38670fc0ec982af9a (patch)
tree48d29fa810cdf541c40414753bb1b6fb219716f8 /test
parent7609401bd5b279fc326c4d5a0220c12562b8ff30 (diff)
downloadrspamd-549b34b1970ab04911bab8e38670fc0ec982af9a.tar.gz
rspamd-549b34b1970ab04911bab8e38670fc0ec982af9a.zip
[Minor] Fix test cases
Diffstat (limited to 'test')
-rw-r--r--test/functional/cases/131_dkim_signing/001_simple.robot6
-rw-r--r--test/functional/cases/131_dkim_signing/002_redis.robot4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/cases/131_dkim_signing/001_simple.robot b/test/functional/cases/131_dkim_signing/001_simple.robot
index d5bd56841..96bdcc997 100644
--- a/test/functional/cases/131_dkim_signing/001_simple.robot
+++ b/test/functional/cases/131_dkim_signing/001_simple.robot
@@ -17,17 +17,17 @@ ${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
TEST SIGNED
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org
Check Rspamc ${result} DKIM-Signature:
- Should Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Contain ${result.stdout} DKIM_SIGNED
TEST NOT SIGNED - USERNAME WRONG DOMAIN
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@example.tk
Check Rspamc ${result} DKIM-Signature: inverse=1
- Should Not Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Not Contain ${result.stdout} DKIM_SIGNED
TEST NOT SIGNED - USERNAME WRONG PUBKEY
${result} = Scan Message With Rspamc ${MESSAGE_FAIL} -u bob@invalid.za.org
Check Rspamc ${result} DKIM-Signature: inverse=1
- Should Not Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Not Contain ${result.stdout} DKIM_SIGNED
*** Keywords ***
DKIM Signing Setup
diff --git a/test/functional/cases/131_dkim_signing/002_redis.robot b/test/functional/cases/131_dkim_signing/002_redis.robot
index 891e71385..e87749a0a 100644
--- a/test/functional/cases/131_dkim_signing/002_redis.robot
+++ b/test/functional/cases/131_dkim_signing/002_redis.robot
@@ -16,12 +16,12 @@ ${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
TEST SIGNED
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org
Check Rspamc ${result} DKIM-Signature:
- Should Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Contain ${result.stdout} DKIM_SIGNED
TEST NOT SIGNED - USERNAME WRONG DOMAIN
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@example.tk
Check Rspamc ${result} DKIM-Signature: inverse=1
- Should Not Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Not Contain ${result.stdout} DKIM_SIGNED
*** Keywords ***
DKIM Signing Setup