mirror of
https://github.com/bspeice/UNCCGameDay-Test
synced 2024-11-21 15:38:15 -05:00
Change the ping URL to the server root.
This commit is contained in:
parent
505f5473e8
commit
bb7f511649
@ -27,7 +27,7 @@ public class RESTTest extends AndroidTestCase {
|
|||||||
if (!host.isReachable(5000))
|
if (!host.isReachable(5000))
|
||||||
fail("Could not contact Gameday server!");
|
fail("Could not contact Gameday server!");
|
||||||
*/
|
*/
|
||||||
HttpURLConnection connection = (HttpURLConnection) new URL("http", mContext.getString(R.string.server_hostname), "gameday")
|
HttpURLConnection connection = (HttpURLConnection) new URL("http", mContext.getString(R.string.server_hostname), "")
|
||||||
.openConnection();
|
.openConnection();
|
||||||
if (connection.getResponseCode() != connection.HTTP_OK)
|
if (connection.getResponseCode() != connection.HTTP_OK)
|
||||||
fail("Could not connect to GameDay! Response code: " + connection.getResponseCode());
|
fail("Could not connect to GameDay! Response code: " + connection.getResponseCode());
|
||||||
|
Loading…
Reference in New Issue
Block a user