From f3892077138a931ac63514efc16d2ab8d80c7247 Mon Sep 17 00:00:00 2001 From: davigonz Date: Fri, 1 Sep 2017 11:31:13 +0200 Subject: [PATCH] Update tests with the proper constants --- .../android/lib/test_project/test/OwnCloudClientTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_client/tests/src/com/owncloud/android/lib/test_project/test/OwnCloudClientTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/OwnCloudClientTest.java index 8210c3de..206fa0cc 100644 --- a/test_client/tests/src/com/owncloud/android/lib/test_project/test/OwnCloudClientTest.java +++ b/test_client/tests/src/com/owncloud/android/lib/test_project/test/OwnCloudClientTest.java @@ -297,7 +297,7 @@ public class OwnCloudClientTest extends AndroidTestCase { client.setCredentials(OwnCloudCredentialsFactory.newBearerCredentials("user", "fakeToken")); Uri webdavUri = client.getWebdavUri(); assertTrue("WebDAV URI does not point to the right entry point", - webdavUri.getPath().endsWith(AccountUtils.WEBDAV_PATH_4_0)); + webdavUri.getPath().endsWith(OwnCloudClient.WEBDAV_PATH_4_0)); assertTrue("WebDAV URI is not a subpath of base URI", webdavUri.getAuthority().equals(mServerUri.getAuthority()) && webdavUri.getPath().startsWith(mServerUri.getPath())); @@ -306,7 +306,7 @@ public class OwnCloudClientTest extends AndroidTestCase { mUsername, mPassword)); webdavUri = client.getWebdavUri(); assertTrue("WebDAV URI does not point to the right entry point", - webdavUri.getPath().endsWith(AccountUtils.WEBDAV_PATH_4_0)); + webdavUri.getPath().endsWith(OwnCloudClient.WEBDAV_PATH_4_0)); PropFindMethod propfind = null; try { propfind = new PropFindMethod(webdavUri + "/",