diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/UtilTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/UtilTest.php b/tests/lib/UtilTest.php index 4734898a787..aeb53a600d9 100644 --- a/tests/lib/UtilTest.php +++ b/tests/lib/UtilTest.php @@ -224,17 +224,17 @@ class UtilTest extends \Test\TestCase { parent::setUp(); \OC_Util::$scripts = []; - \OCP\Util::clearScriptsState(); \OC_Util::$styles = []; self::invokePrivate(\OCP\Util::class, 'scripts', [[]]); + self::invokePrivate(\OCP\Util::class, 'scriptDeps', [[]]); } protected function tearDown(): void { parent::tearDown(); \OC_Util::$scripts = []; - \OCP\Util::clearScriptsState(); \OC_Util::$styles = []; self::invokePrivate(\OCP\Util::class, 'scripts', [[]]); + self::invokePrivate(\OCP\Util::class, 'scriptDeps', [[]]); } public function testAddScript() { |