From 4c32c967a67df0c767a52907d7c56c549053efb5 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Fri, 23 Sep 2016 18:30:21 +0200 Subject: [PATCH] fix test data --- .../com/intellij/codeInspection/ex/InspectionSchemeTest.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionSchemeTest.kt b/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionSchemeTest.kt index 350df20854dd..202056dd71ad 100644 --- a/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionSchemeTest.kt +++ b/java/java-tests/testSrc/com/intellij/codeInspection/ex/InspectionSchemeTest.kt @@ -47,13 +47,11 @@ internal class InspectionSchemeTest { """".trimIndent() schemeFile.write(schemeData) val schemeManagerFactory = SchemeManagerFactoryBase.TestSchemeManagerFactory(fsRule.fs.getPath("")) - val profileManager = ApplicationInspectionProfileManager(InspectionToolRegistrar.getInstance(), - schemeManagerFactory, - ApplicationManager.getApplication().messageBus) + val profileManager = ApplicationInspectionProfileManager(InspectionToolRegistrar.getInstance(), schemeManagerFactory, ApplicationManager.getApplication().messageBus) profileManager.forceInitProfiles(true) profileManager.initProfiles() - assertThat(profileManager.profiles).hasSize(1) + assertThat(profileManager.profiles).hasSize(2) val scheme = profileManager.profiles.first() as InspectionProfileImpl assertThat(scheme.name).isEqualTo("Bar")