From fba7200b05c54a20f009b501744dd1074afceec5 Mon Sep 17 00:00:00 2001
From: Florin Peter <github@florin-peter.de>
Date: Fri, 24 May 2013 22:01:27 +0200
Subject: [PATCH] improved trashbin test again

---
 apps/files_encryption/tests/trashbin.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/files_encryption/tests/trashbin.php b/apps/files_encryption/tests/trashbin.php
index c317c024ea..cc8709b6f2 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;
 			}
 		}
 
-- 
GitLab