From 04c8c888eec9849c368abc240535842162be3234 Mon Sep 17 00:00:00 2001 From: Dmitry Gridin Date: Thu, 31 Oct 2019 16:24:56 +0700 Subject: [PATCH] KotlinLightCodeInsightFixtureTestCase: remove deprecated call for 193 --- .../idea/test/KotlinLightCodeInsightFixtureTestCase.kt.193 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.193 b/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.193 index e6d630dff36..64c712f7c05 100644 --- a/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.193 +++ b/idea/idea-test-framework/test/org/jetbrains/kotlin/idea/test/KotlinLightCodeInsightFixtureTestCase.kt.193 @@ -85,7 +85,7 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix UnusedSymbolInspection() (StartupManager.getInstance(project) as StartupManagerImpl).runPostStartupActivities() - VfsRootAccess.allowRootAccess(KotlinTestUtils.getHomeDirectory()) + VfsRootAccess.allowRootAccess(project, KotlinTestUtils.getHomeDirectory()) EditorTracker.getInstance(project) @@ -104,8 +104,6 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix override fun tearDown() { LoggedErrorProcessor.restoreDefaultProcessor() - VfsRootAccess.disallowRootAccess(KotlinTestUtils.getHomeDirectory()) - super.tearDown() if (exceptions.isNotEmpty()) {