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