mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
@@ -15,8 +15,8 @@
|
||||
*/
|
||||
package org.jetbrains.plugins.github;
|
||||
|
||||
import com.intellij.mock.MockProgressIndicator;
|
||||
import com.intellij.notification.NotificationType;
|
||||
import com.intellij.openapi.progress.DumbProgressIndicator;
|
||||
import com.intellij.openapi.progress.ProgressIndicator;
|
||||
import org.jetbrains.plugins.github.util.GithubAuthData;
|
||||
import org.jetbrains.plugins.github.util.GithubAuthDataHolder;
|
||||
@@ -30,7 +30,7 @@ import static org.jetbrains.plugins.github.api.GithubGist.FileContent;
|
||||
* @author Aleksey Pivovarov
|
||||
*/
|
||||
public class GithubCreateGistTest extends GithubCreateGistTestBase {
|
||||
private final ProgressIndicator myIndicator = new MockProgressIndicator();
|
||||
private final ProgressIndicator myIndicator = DumbProgressIndicator.INSTANCE;
|
||||
|
||||
public void testSimple() throws Throwable {
|
||||
List<FileContent> expected = createContent();
|
||||
|
||||
@@ -206,4 +206,9 @@ public abstract class GithubTest extends GitPlatformTest {
|
||||
|
||||
protected void afterTest() throws Exception {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean runInDispatchThread() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user