gunnar: server/php-kolab/Kolab_Filter/tests forged_sender.phpt, 1.1, 1.2

cvs at kolab.org cvs at kolab.org
Tue Feb 12 10:54:39 CET 2008


Author: gunnar

Update of /kolabrepository/server/php-kolab/Kolab_Filter/tests
In directory doto:/tmp/cvs-serv30974/php-kolab/Kolab_Filter/tests

Modified Files:
	forged_sender.phpt 
Log Message:
Reverted part of yesterday fixes. Otherwise the option parsing in the Kolab filters are not correct. Adjusted unit test to check for that.

Index: forged_sender.phpt
===================================================================
RCS file: /kolabrepository/server/php-kolab/Kolab_Filter/tests/forged_sender.phpt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- forged_sender.phpt	11 Feb 2008 17:34:43 -0000	1.1
+++ forged_sender.phpt	12 Feb 2008 09:54:37 -0000	1.2
@@ -16,7 +16,7 @@
 $conf['filter']['tempdir'] = './tmp';
 $conf['filter']['reject_forged_from_header'] = false;
 $conf['filter']['email_domain'] = 'example.com';
-$_SERVER['argv'] = array('test', '-s', 'me at example.com', '-r', 'you at example.com', '-c', '192.168.178.1');
+$_SERVER['argv'] = array('test', '-s', 'me at example.com', '-u', '', '-r', 'you at example.com', '-c', '192.168.178.1');
 $logger = Horde::getLogger();
 
 $logger->_lineFormat = '%2$s [%3$s] %7$s';





More information about the commits mailing list