Change the ping URL to the server root.

This commit is contained in:
bspeice 2013-10-18 17:43:20 -04:00
parent 505f5473e8
commit bb7f511649

View File

@ -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());