ScriptClassRootsUpdater: run synchronously in unit test mode
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ class ScriptClassRootsUpdater(
|
|||||||
if (!invalidated) return
|
if (!invalidated) return
|
||||||
invalidated = false
|
invalidated = false
|
||||||
|
|
||||||
if (syncUpdateRequired) {
|
if (syncUpdateRequired || ApplicationManager.getApplication().isUnitTestMode) {
|
||||||
syncUpdateRequired = false
|
syncUpdateRequired = false
|
||||||
updateSynchronously()
|
updateSynchronously()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user