Fix mock order for FileMenuFilter

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-11-14 21:14:57 +01:00
parent 422c0a5011
commit 6b470f86bb
No known key found for this signature in database
GPG key ID: 2585783189A62105

View file

@ -80,8 +80,8 @@ class FileMenuFilterIT : AbstractIT() {
every { mockComponentsGetter.operationsServiceBinder } returns mockOperationsServiceBinder every { mockComponentsGetter.operationsServiceBinder } returns mockOperationsServiceBinder
every { mockStorageManager.getFileById(any()) } returns OCFile("/") every { mockStorageManager.getFileById(any()) } returns OCFile("/")
every { mockStorageManager.getFolderContent(any(), any()) } returns ArrayList<OCFile>() every { mockStorageManager.getFolderContent(any(), any()) } returns ArrayList<OCFile>()
every { mockEditorUtils.isEditorAvailable(any(), any()) } returns false
every { mockEditorUtils.getEditor(any(), any()) } returns null every { mockEditorUtils.getEditor(any(), any()) } returns null
every { mockEditorUtils.isEditorAvailable(any(), any()) } returns false
} }
@Test @Test