[otrs-cvs] otrs/scripts/test/GenericInterface WebserviceConfig.t, 1.14, 1.15

"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-serv26294/scripts/test/GenericInterface

Modified Files:
	WebserviceConfig.t 
Log Message:
Removed eval block from the test, since Kernel::System::YAML::Load already has an eval block.

Author: cr

Index: WebserviceConfig.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/GenericInterface/WebserviceConfig.t,v
retrieving revision 1.14
retrieving revision 1.15
diff -2 -u -d -r1.14 -r1.15
--- WebserviceConfig.t	16 Jan 2013 13:19:48 -0000	1.14
+++ WebserviceConfig.t	16 Jan 2013 21:44:50 -0000	1.15
@@ -222,6 +222,6 @@
         Location => $Test->{FileAdd},
     );
-    my $OriginalContent = eval { Kernel::System::YAML::Load( ${$Content} ) };
-    my $ResultContent   = eval { Kernel::System::YAML::Load($WebserviceConfigResult) };
+    my $OriginalContent = Kernel::System::YAML::Load( ${$Content} );
+    my $ResultContent   = Kernel::System::YAML::Load($WebserviceConfigResult);
 
     $Self->IsDeeply(
@@ -266,6 +266,6 @@
         Location => $Test->{FileUpdate},
     );
-    $OriginalContent = eval { Kernel::System::YAML::Load( ${$Content} ) };
-    $ResultContent   = eval { Kernel::System::YAML::Load($WebserviceConfigResult) };
+    $OriginalContent = Kernel::System::YAML::Load( ${$Content} );
+    $ResultContent   = Kernel::System::YAML::Load($WebserviceConfigResult);
 
     $Self->IsDeeply(
---------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.