Skip to content

Commit

Permalink
Merge pull request #4706 from fatalbanana/settings_test
Browse files Browse the repository at this point in the history
[Test] Try correct settings test
  • Loading branch information
vstakhov committed Nov 16, 2023
2 parents 2310380 + bd65562 commit 66620b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/functional/cases/108_settings.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/functional/configs/settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 66620b5

Please sign in to comment.