mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Update test for GetRemoteUserAvatarOperation after retrieval conditioned by ETag was disabled
This commit is contained in:
		
							parent
							
								
									67d7217d13
								
							
						
					
					
						commit
						fdebb05a13
					
				| @ -68,7 +68,11 @@ public class GetUserAvatarTest extends RemoteTest { | |||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|      * Test get user avatar only if changed, but wasn't changed |      * 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() { |     public void testGetUserAvatarOnlyIfChangedAfterUnchanged() { | ||||||
|         RemoteOperationResult result = mActivity.getUserAvatar(AVATAR_DIMENSION, null); |         RemoteOperationResult result = mActivity.getUserAvatar(AVATAR_DIMENSION, null); | ||||||
|         ResultData userAvatar = (ResultData) result.getData().get(0); |         ResultData userAvatar = (ResultData) result.getData().get(0); | ||||||
| @ -79,6 +83,7 @@ public class GetUserAvatarTest extends RemoteTest { | |||||||
|         assertFalse(result.isSuccess()); |         assertFalse(result.isSuccess()); | ||||||
|         assertTrue(result.getHttpCode() == HttpStatus.SC_NOT_MODIFIED); |         assertTrue(result.getHttpCode() == HttpStatus.SC_NOT_MODIFIED); | ||||||
|     } |     } | ||||||
|  |     */ | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|      * Test get user avatar only if changed, and was changed |      * Test get user avatar only if changed, and was changed | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user