diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-07 10:04:42 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:15:48 +0100 |
commit | 447cd553b6a804cf83ed639a3b5792c46ec196cb (patch) | |
tree | 48919a478394a4d54c1a860c91a621b4cd7e4e3a /tests | |
parent | 6f62c17a95b9bac78cb064e7b51bcbae28decffa (diff) | |
download | nextcloud-server-447cd553b6a804cf83ed639a3b5792c46ec196cb.tar.gz nextcloud-server-447cd553b6a804cf83ed639a3b5792c46ec196cb.zip |
Reset $scriptDeps in tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/UtilTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/UtilTest.php b/tests/lib/UtilTest.php index c394792a72f..4734898a787 100644 --- a/tests/lib/UtilTest.php +++ b/tests/lib/UtilTest.php @@ -224,6 +224,7 @@ class UtilTest extends \Test\TestCase { parent::setUp(); \OC_Util::$scripts = []; + \OCP\Util::clearScriptsState(); \OC_Util::$styles = []; self::invokePrivate(\OCP\Util::class, 'scripts', [[]]); } @@ -231,6 +232,7 @@ class UtilTest extends \Test\TestCase { parent::tearDown(); \OC_Util::$scripts = []; + \OCP\Util::clearScriptsState(); \OC_Util::$styles = []; self::invokePrivate(\OCP\Util::class, 'scripts', [[]]); } |