summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-09-02 15:41:59 +0200
committerRobin Appelman <robin@icewind.nl>2016-09-07 17:22:40 +0200
commite8e950a4d2972a4950e00a67cc8c1f0447701986 (patch)
tree17af82302f0000d88391fa4df5ecde419e991645 /tests
parent1d04c9e307892c275f9fad64ef0ebe9bc10e0260 (diff)
downloadnextcloud-server-e8e950a4d2972a4950e00a67cc8c1f0447701986.tar.gz
nextcloud-server-e8e950a4d2972a4950e00a67cc8c1f0447701986.zip
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) {