From: Florin Peter Date: Fri, 24 May 2013 20:01:27 +0000 (+0200) Subject: improved trashbin test again X-Git-Tag: v5.0.7~46^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=12f5b5ce6146de9fe4b85d09ba6c502ba946ef7c;p=nextcloud-server.git improved trashbin test again --- diff --git a/apps/files_encryption/tests/trashbin.php b/apps/files_encryption/tests/trashbin.php index c317c024eae..cc8709b6f24 100755 --- a/apps/files_encryption/tests/trashbin.php +++ b/apps/files_encryption/tests/trashbin.php @@ -238,6 +238,7 @@ class Test_Encryption_Trashbin extends \PHPUnit_Framework_TestCase if(strncmp($file['name'], $filename, strlen($filename)) == 0) { $path_parts = pathinfo($file['name']); $trashFileSuffix = $path_parts['extension']; + break; } }