KotlinLightCodeInsightFixtureTestCase: remove deprecated call for 193

This commit is contained in:
Dmitry Gridin
2019-10-31 16:24:56 +07:00
parent 17429d333e
commit 04c8c888ee
@@ -85,7 +85,7 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
UnusedSymbolInspection() UnusedSymbolInspection()
(StartupManager.getInstance(project) as StartupManagerImpl).runPostStartupActivities() (StartupManager.getInstance(project) as StartupManagerImpl).runPostStartupActivities()
VfsRootAccess.allowRootAccess(KotlinTestUtils.getHomeDirectory()) VfsRootAccess.allowRootAccess(project, KotlinTestUtils.getHomeDirectory())
EditorTracker.getInstance(project) EditorTracker.getInstance(project)
@@ -104,8 +104,6 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
override fun tearDown() { override fun tearDown() {
LoggedErrorProcessor.restoreDefaultProcessor() LoggedErrorProcessor.restoreDefaultProcessor()
VfsRootAccess.disallowRootAccess(KotlinTestUtils.getHomeDirectory())
super.tearDown() super.tearDown()
if (exceptions.isNotEmpty()) { if (exceptions.isNotEmpty()) {