mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-30 01:48:14 +00:00 
			
		
		
		
	Avoid remove in teardown of testUploadFileNotFound
This commit is contained in:
		
							parent
							
								
									5f11b3d998
								
							
						
					
					
						commit
						c1564e8c38
					
				| @ -115,7 +115,7 @@ public class UploadFileTest extends ActivityInstrumentationTestCase2<TestActivit | ||||
| 
 | ||||
| 	@Override | ||||
| 	protected void tearDown() throws Exception { | ||||
| 		if (mUploadedFilePath != null) { | ||||
| 		if (mUploadedFilePath != null && !mUploadedFilePath.equals(FILE_NOT_FOUND_PATH)) { | ||||
| 			RemoteOperationResult removeResult = mActivity.removeFile(mUploadedFilePath); | ||||
| 			if (!removeResult.isSuccess()) { | ||||
| 				Utils.logAndThrow(LOG_TAG, removeResult); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user