summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-08 21:09:14 +0200
committerGitHub <noreply@github.com>2016-09-08 21:09:14 +0200
commit5ac26d12f0a771bcaf8a44acdb469b68daebc446 (patch)
tree0393b11ecdfa483f287f6137a119bd67c32e6783 /tests
parente18fecae472ef9a9da0be724849285891d855b67 (diff)
parente8e950a4d2972a4950e00a67cc8c1f0447701986 (diff)
downloadnextcloud-server-5ac26d12f0a771bcaf8a44acdb469b68daebc446.tar.gz
nextcloud-server-5ac26d12f0a771bcaf8a44acdb469b68daebc446.zip
Merge pull request #1247 from nextcloud/storage-id-global-cache
more efficient querying of numeric storage ids
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/TestCase.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/TestCase.php b/tests/lib/TestCase.php
index b9b18c644fd..f5d65679c90 100644
--- a/tests/lib/TestCase.php
+++ b/tests/lib/TestCase.php
@@ -148,6 +148,8 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase {
libxml_clear_errors();
$this->assertEquals([], $errors);
+ \OC\Files\Cache\Storage::getGlobalCache()->clearCache();
+
// tearDown the traits
$traits = $this->getTestTraits();
foreach ($traits as $trait) {