1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Changes in test because Travis is failing

This commit is contained in:
masensio 2015-03-25 09:36:40 +01:00
parent 0e011fb0c7
commit ab268fbccd
2 changed files with 0 additions and 6 deletions

View File

@ -26,6 +26,5 @@
<resources>
<string name="app_name">Oc_framework-testTest</string>
<string name ="user_agent">Mozilla/5.0 (Android) ownCloud test cases</string>
</resources>

View File

@ -64,7 +64,6 @@ public class OwnCloudClientTest extends AndroidTestCase {
private Uri mServerUri;
private String mUsername;
private String mPassword;
private String mUserAgent;
public OwnCloudClientTest() {
super();
@ -91,7 +90,6 @@ public class OwnCloudClientTest extends AndroidTestCase {
mServerUri = Uri.parse(getContext().getString(R.string.server_base_url));
mUsername = getContext().getString(R.string.username);
mPassword = getContext().getString(R.string.password);
mUserAgent = getContext().getString(R.string.user_agent);
}
@ -117,9 +115,6 @@ public class OwnCloudClientTest extends AndroidTestCase {
OwnCloudClient client =
new OwnCloudClient(mServerUri, NetworkUtils.getMultiThreadedConnManager());
assertNotNull("OwnCloudClient instance not built", client);
assertEquals("Wrong user agent",
client.getParams().getParameter(HttpMethodParams.USER_AGENT),
mUserAgent);
}