[otrs-cvs] otrs/scripts/test/GenericInterface/Provider Provider.t, 1.10, 1.11

CVS commits notifications of OTRS.org cvs-log at otrs.org
Wed Jun 22 09:54:48 GMT 2011


Comments:
Update of /home/cvs/otrs/scripts/test/GenericInterface/Provider
In directory lancelot:/tmp/cvs-serv9748/scripts/test/GenericInterface/Provider

Modified Files:
	Provider.t 
Log Message:
Corrected REQUEST_URI environment variable for tests.

Author: mg

Index: Provider.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/GenericInterface/Provider/Provider.t,v
retrieving revision 1.10
retrieving revision 1.11
diff -2 -u -d -r1.10 -r1.11
--- Provider.t	18 Mar 2011 12:58:42 -0000	1.10
+++ Provider.t	22 Jun 2011 09:54:43 -0000	1.11
@@ -309,5 +309,10 @@
                     # prepare CGI environment variables
                     $ENV{REQUEST_URI}
-                        = "http://localhost/otrs/nph-genericinterface.pl/$WebserviceAccess?$Test->{RequestData}";
+                        = "http://localhost/otrs/nph-genericinterface.pl/$WebserviceAccess?"
+                        . $CreateQueryString->(
+                        $Self,
+                        Data   => $Test->{RequestData},
+                        Encode => 1,
+                        );
                     $ENV{QUERY_STRING} = $CreateQueryString->(
                         $Self,


More information about the cvs-log mailing list