Skip to content

Commit 177ae86

Browse files
committed
modified unit tests
1 parent 1f517c2 commit 177ae86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/test/kotlin/fr/free/nrw/commons/upload/ImageProcessingServiceTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class u {
8282
.thenReturn(false)
8383
`when`(mwApi!!.fileExistsWithName(ArgumentMatchers.anyString()))
8484
.thenReturn(false)
85-
`when`(readFBMD?.processMetadata(ArgumentMatchers.anyString()))
85+
`when`(readFBMD?.processMetadata(ArgumentMatchers.any(),ArgumentMatchers.any()))
8686
.thenReturn(Single.just(ImageUtils.IMAGE_OK))
8787
}
8888

0 commit comments

Comments
 (0)