diff --git a/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCase.java b/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCase.java
index c3eb876963c5..0cf6daa7c50b 100644
--- a/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCase.java
+++ b/platform/testGuiFramework/src/com/intellij/testGuiFramework/impl/GuiTestCase.java
@@ -15,9 +15,11 @@
*/
package com.intellij.testGuiFramework.impl;
+import com.intellij.testFramework.vcs.ExecutableHelper;
import com.intellij.testGuiFramework.framework.GuiTestBase;
import com.intellij.testGuiFramework.framework.TestWithIde;
import com.intellij.util.net.HttpConfigurable;
+import git4idea.config.GitVcsApplicationSettings;
import org.fest.swing.core.FastRobot;
import static com.intellij.testGuiFramework.framework.GuiTestUtil.setUpDefaultProjectCreationLocationPath;
@@ -42,6 +44,7 @@ public class GuiTestCase extends GuiTestBase {
setIdeSettings();
setUpSdks();
+ setPathToGit();
}
private static void setIdeSettings() {
@@ -52,4 +55,8 @@ public class GuiTestCase extends GuiTestBase {
ideSettings.PROXY_PORT = 80;
}
+ private static void setPathToGit() {
+ GitVcsApplicationSettings.getInstance().setPathToGit(ExecutableHelper.findGitExecutable());
+ }
+
}
diff --git a/platform/testGuiFramework/testGuiFramework.iml b/platform/testGuiFramework/testGuiFramework.iml
index d5e56c719740..9dfed1885fac 100644
--- a/platform/testGuiFramework/testGuiFramework.iml
+++ b/platform/testGuiFramework/testGuiFramework.iml
@@ -32,6 +32,7 @@
-
+
+
\ No newline at end of file