summaryrefslogtreecommitdiff
path: root/test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-04-13 09:43:00 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-04-13 09:43:00 (GMT)
commit08acbbc35b424b434f963b8eca321ed8e3daa40d (patch)
tree064649944f5ca69045c93a7d4da5c2e4206dfa25 /test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php
parentc24d7697447587d4c6719784f477dfcd16ca4f12 (diff)
downloadkolab-webadmin-08acbbc35b424b434f963b8eca321ed8e3daa40d.tar.gz
Update testing and fix an upgrade bug with the new forward segment script. Strict testing is no longer possible because we use the old Horde String library.
Diffstat (limited to 'test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php')
-rw-r--r--test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php b/test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php
index f82cb28..2d698d5 100644
--- a/test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php
+++ b/test/KolabAdmin/Unit/Sieve/Segment/ForwardTest.php
@@ -256,7 +256,7 @@ class KolabAdmin_Unit_Sieve_Segment_ForwardTest extends PHPUnit_Framework_TestCa
}
$script = 'if allof (' . (($active) ? 'true ## forward enabled' : 'false ## forward disabled') . "\r\n" .
') {' . "\r\n" .
- $address . (($keep_on_server) ? ' keep;' : '') . "\r\n" .
+ $address . (($keep_on_server) ? '' : ' stop;') . "\r\n" .
'}' . "\r\n";
if (!$active) {
$script = preg_replace('/^(.)/m', '#$1', $script);