diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-16 20:08:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 20:08:11 +0000 |
commit | 66620b534846573efd0222e3d6980b54b5259c20 (patch) | |
tree | 843a73468c24e95a4ca27340a4baf057133ff020 | |
parent | 2310380df54fada9da5becff0b5f36f540d60fc4 (diff) | |
parent | bd65562c8a6e1d4ab685607a4bc111fd93530415 (diff) | |
download | rspamd-66620b534846573efd0222e3d6980b54b5259c20.tar.gz rspamd-66620b534846573efd0222e3d6980b54b5259c20.zip |
Merge pull request #4706 from fatalbanana/settings_test
[Test] Try correct settings test
-rw-r--r-- | test/functional/cases/108_settings.robot | 4 | ||||
-rw-r--r-- | test/functional/configs/settings.conf | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/cases/108_settings.robot b/test/functional/cases/108_settings.robot index 0b4877882..1b51343d0 100644 --- a/test/functional/cases/108_settings.robot +++ b/test/functional/cases/108_settings.robot @@ -180,7 +180,7 @@ SETTINGS ID - VIRTUAL HOSTNAME Do Not Expect Symbol SIMPLE_PRE SETTINGS ID - VIRTUAL SELECTOR - Scan File ${MESSAGE} Rcpt=user3@example.com + Scan File ${MESSAGE} Rcpt=test3@example.com Expect Symbol With Score SIMPLE_VIRTUAL 10 Expect Symbol With Score EXPLICIT_VIRTUAL 10 Do Not Expect Symbol SIMPLE_TEST @@ -190,7 +190,7 @@ SETTINGS ID - VIRTUAL SELECTOR Do Not Expect Symbol SIMPLE_PRE SETTINGS ID - ANGLED RECIPIENT - Scan File ${MESSAGE} Rcpt=<user3@example.com> + Scan File ${MESSAGE} Rcpt=<test3@example.com> Expect Symbol With Score SIMPLE_VIRTUAL 10 Expect Symbol With Score EXPLICIT_VIRTUAL 10 Do Not Expect Symbol SIMPLE_TEST diff --git a/test/functional/configs/settings.conf b/test/functional/configs/settings.conf index 7bcc58a1d..506bde19c 100644 --- a/test/functional/configs/settings.conf +++ b/test/functional/configs/settings.conf @@ -45,7 +45,7 @@ settings { "Test" = "passed"; } - expression = 'user || from || hostname || selector:1 || header:mime_version || header:custom_header || header:1 || request_header:test' + expression = 'user || from || hostname || selector:1 || header:mime_version || header:custom_header || header:content_transfer_encoding || request_header:test' apply { symbols_enabled { SIMPLE_VIRTUAL = 10.0; |