From 2c66b53b27abed030dfdc787692cac3ac16f1466 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 26 Aug 2020 16:52:10 +0300 Subject: [PATCH] Fixed tests --- tests/src/com/unciv/testing/BasicTests.kt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/src/com/unciv/testing/BasicTests.kt b/tests/src/com/unciv/testing/BasicTests.kt index b48aab6a..780a1ef8 100644 --- a/tests/src/com/unciv/testing/BasicTests.kt +++ b/tests/src/com/unciv/testing/BasicTests.kt @@ -2,7 +2,6 @@ package com.unciv.testing import com.badlogic.gdx.Gdx -import com.badlogic.gdx.files.FileHandle import com.unciv.UncivGame import com.unciv.UncivGameParameters import com.unciv.models.metadata.GameSettings @@ -12,13 +11,10 @@ import com.unciv.models.ruleset.unit.BaseUnit import com.unciv.models.stats.Stat import com.unciv.models.stats.Stats import com.unciv.models.translations.tr -import com.unciv.ui.worldscreen.mainmenu.Http -import com.unciv.ui.worldscreen.mainmenu.Zip import org.junit.Assert import org.junit.Before import org.junit.Test import org.junit.runner.RunWith -import java.io.File @RunWith(GdxTestRunner::class) class BasicTests { @@ -91,8 +87,8 @@ class BasicTests { // Zip.downloadAndExtract("https://github.com/yairm210/Unciv-IV-mod/archive/master.zip", FileHandle("""C:\Users\LENOVO\Downloads""")) // } - @Test // This should NOT run as part of the test suite! - fun tryGetGithubTopicInfo(){ - println(Http.tryGetGithubTopic()) - } +// @Test // This should NOT run as part of the test suite! +// fun tryGetGithubTopicInfo(){ +// println(Github.tryGetGithubReposWithTopic()) +// } } \ No newline at end of file