diff options
Diffstat (limited to 'tests/lib/TestCase.php')
-rw-r--r-- | tests/lib/TestCase.php | 2 |
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) { |