From bb7f5116491c86fdd1d8a3db3d5c453dcb1cdaa5 Mon Sep 17 00:00:00 2001 From: bspeice Date: Fri, 18 Oct 2013 17:43:20 -0400 Subject: [PATCH] Change the ping URL to the server root. --- src/com/uncc/gameday/registration/test/RESTTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/uncc/gameday/registration/test/RESTTest.java b/src/com/uncc/gameday/registration/test/RESTTest.java index 0d8318c..864a542 100644 --- a/src/com/uncc/gameday/registration/test/RESTTest.java +++ b/src/com/uncc/gameday/registration/test/RESTTest.java @@ -27,7 +27,7 @@ public class RESTTest extends AndroidTestCase { if (!host.isReachable(5000)) 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(); if (connection.getResponseCode() != connection.HTTP_OK) fail("Could not connect to GameDay! Response code: " + connection.getResponseCode());