Disable plugin updater check in tests

This commit is contained in:
Nikolay Krasko
2015-10-07 14:36:03 +03:00
parent 391af972d7
commit 8f20595e8c
@@ -59,6 +59,8 @@ class KotlinPluginUpdater(val propertiesComponent: PropertiesComponent) : Dispos
}
private fun queueUpdateCheck() {
if (ApplicationManager.getApplication().isUnitTestMode) return
ApplicationManager.getApplication().assertIsDispatchThread()
if (!checkQueued) {
checkQueued = true