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

Update test for GetRemoteUserAvatarOperation after retrieval conditioned by ETag was disabled

This commit is contained in:
David A. Velasco 2016-12-09 10:15:30 +01:00
parent 67d7217d13
commit fdebb05a13

View File

@ -68,7 +68,11 @@ public class GetUserAvatarTest extends RemoteTest {
/**
* Test get user avatar only if changed, but wasn't changed
*
* DISABLED: conditioned call has been disabled due to problems with the network stack;
* see comment in src/com/owncloud/android/lib/resources/users/GetRemoteUserAvatarOperation.java#87
*/
/*
public void testGetUserAvatarOnlyIfChangedAfterUnchanged() {
RemoteOperationResult result = mActivity.getUserAvatar(AVATAR_DIMENSION, null);
ResultData userAvatar = (ResultData) result.getData().get(0);
@ -79,6 +83,7 @@ public class GetUserAvatarTest extends RemoteTest {
assertFalse(result.isSuccess());
assertTrue(result.getHttpCode() == HttpStatus.SC_NOT_MODIFIED);
}
*/
/**
* Test get user avatar only if changed, and was changed