[otrs-cvs] Survey/scripts/test Survey.t,1.27,1.28

"CVS commits notifications of OTRS.org" <[email protected]> Thu, 27 Jun 2013 09:28:07 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
--===============0289668160==
Content-Type: text/plain
Content-Encoding: 8bit

Comments:
Update of /home/cvs/Survey/scripts/test
In directory lancelot:/tmp/cvs-serv24937/scripts/test

Modified Files:
	Survey.t 
Log Message:
Revoked unittest to original after seeing that the ; in the URL Link is not changed on the various linux systems.

Author: jh

Index: Survey.t
===================================================================
RCS file: /home/cvs/Survey/scripts/test/Survey.t,v
retrieving revision 1.27
retrieving revision 1.28
diff -2 -u -d -r1.27 -r1.28
--- Survey.t	27 Jun 2013 07:50:48 -0000	1.27
+++ Survey.t	27 Jun 2013 09:28:02 -0000	1.28
@@ -63,5 +63,5 @@
     NotificationSubject => 'Help us with your feedback! ÄÖÜ',
     NotificationBody =>
-        'Dear customer... äöü http://localhost/otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=<OTRS_PublicSurveyKey>',
+        'Dear customer... äöü',
 );
 my $SurveyID = $SurveyObject->SurveyNew(
@@ -372,8 +372,5 @@
 Content-Transfer-Encoding: quoted-printable
 
-Dear customer... =C3=A4=C3=B6=C3=BC
-[1]http://localhost/otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=PublicSurveyKeyID
-
-[1] http://localhost/otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=PublicSurveyKeyID
+Dear customer... =C3=A4=C3=B6=C3=BC=
 
 ------------=_MESSAGEID
@@ -382,5 +379,9 @@
 Content-Transfer-Encoding: quoted-printable
 
-<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body style="font-family:Geneva,Helvetica,Arial,sans-serif; font-size: 12px;">Dear customer... =C3=A4=C3=B6=C3=BC <a href="http://localhost/otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=PublicSurveyKeyID" title="http://localhost/otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=PublicSurveyKeyID">http://localhost/otrs/public.pl?Action=PublicSurvey;PublicSurveyKey=PublicSurveyKeyID</a></body></html>
+<!DOCTYPE html><html><head><meta http-equiv=3D"Content-Type" content=3D"tex=
+t/html; charset=3Dutf-8"/></head><body style=3D"font-family:Geneva,Helvetic=
+a,Arial,sans-serif; font-size: 12px;">Dear customer... =C3=A4=C3=B6=C3=BC</=
+body></html>=
+
 ------------=_MESSAGEID--
 END
@@ -392,13 +393,4 @@
         $Mailbody2 =~ s{ \d{8,12} - \d{3,6} - \d{1,3} }{MESSAGEID}xmsg;
 
-        # replace mailquoted "=3D" with original "="
-        $Mailbody2 =~ s{\=3D}{=}xmsg;
-
-        # remove trailing "=" linebreaks
-        $Mailbody2 =~ s{\=\n}{}xmsg;
-
-        # replace variable hex MD5 KeyID with "PublicSurveyKeyID"
-        $Mailbody2 =~ s{(PublicSurveyKey\=)[0-9a-f]+}{$1PublicSurveyKeyID}xmsg;
-
         $Self->Is(
             $Mailbody2,

--===============0289668160==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
--===============0289668160==--