[otrs-cvs] otrs/scripts/test/GenericInterface WebserviceConfig.t, 1.11, 1.12
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/scripts/test/GenericInterface
In directory lancelot:/tmp/cvs-serv22107/scripts/test/GenericInterface
Modified Files:
WebserviceConfig.t
Log Message:
Fixed test for UTF8.
Author: cr
Index: WebserviceConfig.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/GenericInterface/WebserviceConfig.t,v
retrieving revision 1.11
retrieving revision 1.12
diff -2 -u -d -r1.11 -r1.12
--- WebserviceConfig.t 15 Jan 2013 17:43:27 -0000 1.11
+++ WebserviceConfig.t 15 Jan 2013 23:25:44 -0000 1.12
@@ -221,4 +221,5 @@
my $Content = $Self->{MainObject}->FileRead(
Location => $Test->{FileAdd},
+ Mode => 'utf8',
);
@@ -267,12 +268,11 @@
$Content = $Self->{MainObject}->FileRead(
Location => $Test->{FileUpdate},
+ Mode => 'utf8'
);
$OriginalContent = eval { Kernel::System::YAML::Load( ${$Content} ) };
$ResultContent = eval { Kernel::System::YAML::Load($WebserviceConfigResult) };
- $OriginalContent = Kernel::System::YAML::Dump($OriginalContent);
- $ResultContent = Kernel::System::YAML::Dump($ResultContent);
$Self->Is(
- $OriginalContent,
$ResultContent,
+ $OriginalContent,
"$Test->{Name} - Compare update file with result",
);
---------------------------------------------------------------------
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