From: Martin Helmling martin.helmling@octosoft.eu Date: Sat, 11 Feb 2017 10:07:56 +0000 (+0100) Subject: t/file/filesystem.t robuster X-Git-Tag: release-3.5.4~1482 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=83c97773d846f04f47d62b532e3e44b7917f9f96;p=kivitendo-erp.git t/file/filesystem.t robuster --- diff --git a/t/file/filesystem.t b/t/file/filesystem.t index cd033a7fc..fd648e84e 100644 --- a/t/file/filesystem.t +++ b/t/file/filesystem.t @@ -84,7 +84,9 @@ eval { } or do { $result=$@; }; -ok($result eq "No object type at SL/Controller/File.pm line 327.\n","correct error 'No object type'"); +$result = substr($result,0,14); +print $result."\n"; +ok($result eq "No object type","correct error 'No object type'"); $::form->{object_type} ='sales_order'; $::form->{file_type} =''; @@ -96,7 +98,9 @@ eval { } or do { $result=$@; }; -ok($result eq "No file type at SL/Controller/File.pm line 328.\n","correct error 'No file type'"); +$result = substr($result,0,12); +print $result."\n"; +ok($result eq "No file type","correct error 'No file type'"); clear_up(); done_testing;