mirror of
https://github.com/bspeice/UNCCGameDay-Test
synced 2024-12-22 06:38:14 -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))
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user