mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	
							parent
							
								
									d9fa31242f
								
							
						
					
					
						commit
						480c05b2f3
					
				
					 18 changed files with 35 additions and 43 deletions
				
			
		|  | @ -1,6 +1,5 @@ | |||
| package fr.free.nrw.commons.upload | ||||
| 
 | ||||
| import android.content.ContentResolver | ||||
| import android.content.SharedPreferences | ||||
| import fr.free.nrw.commons.caching.CacheController | ||||
| import fr.free.nrw.commons.mwapi.CategoryApi | ||||
|  | @ -8,8 +7,6 @@ import org.junit.Before | |||
| import org.junit.Test | ||||
| import org.mockito.InjectMocks | ||||
| import org.mockito.Mock | ||||
| import org.mockito.Mockito.anyString | ||||
| import org.mockito.Mockito.mock | ||||
| import org.mockito.MockitoAnnotations | ||||
| import javax.inject.Inject | ||||
| import javax.inject.Named | ||||
|  |  | |||
|  | @ -2,7 +2,6 @@ package fr.free.nrw.commons.upload | |||
| 
 | ||||
| import android.content.ComponentName | ||||
| import android.content.Context | ||||
| import android.content.SharedPreferences | ||||
| import fr.free.nrw.commons.HandlerService | ||||
| import fr.free.nrw.commons.auth.SessionManager | ||||
| import fr.free.nrw.commons.contributions.Contribution | ||||
|  |  | |||
|  | @ -70,7 +70,7 @@ class UploadModelTest { | |||
|         `when`(fileUtilsWrapper!!.getGeolocationOfFile(anyString())) | ||||
|                 .thenReturn("") | ||||
|         `when`(imageProcessingService!!.validateImage(any(UploadModel.UploadItem::class.java), anyBoolean())) | ||||
|                 .thenReturn(Single.just(IMAGE_OK)); | ||||
|                 .thenReturn(Single.just(IMAGE_OK)) | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ronan Brigdale
						Ronan Brigdale