don't set ide.firstStartup to false in tests — otherwise will be stored - we must not create config files in tests

This commit is contained in:
Vladimir Krivosheev
2015-02-24 11:52:52 +01:00
parent 5108f470b5
commit 15ddfbf34d
@@ -215,7 +215,10 @@ public class StartupManagerImpl extends StartupManagerEx {
}
});
Registry.get("ide.firstStartup").setValue(false);
// otherwise will be stored - we must not create config files in tests
if (!app.isUnitTestMode()) {
Registry.get("ide.firstStartup").setValue(false);
}
}
public void scheduleInitialVfsRefresh() {