mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Added more unit tests to UploadMediaPresenterTest (#3251)
This commit is contained in:
		
							parent
							
								
									88bb1d87ca
								
							
						
					
					
						commit
						36e0f766c9
					
				
					 2 changed files with 79 additions and 1 deletions
				
			
		|  | @ -160,7 +160,7 @@ public class UploadMediaPresenter implements UserActionListener, SimilarImageInt | |||
|      * | ||||
|      * @param errorCode | ||||
|      */ | ||||
|     private void handleBadImage(Integer errorCode) { | ||||
|     public void handleBadImage(Integer errorCode) { | ||||
|         Timber.d("Handle bad picture with error code %d", errorCode); | ||||
|         if (errorCode | ||||
|                 >= 8) { // If location of image and nearby does not match, then set shared preferences to disable wikidata edits | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ashish Kumar
						Ashish Kumar