mirror of
https://github.com/nextcloud/android-library.git
synced 2025-07-23 00:49:38 +00:00

committed by
Alper Öztürk

parent
74a89aedd0
commit
3e52ee08c1
@ -19,15 +19,14 @@ import org.junit.Before
|
||||
import org.junit.Test
|
||||
|
||||
class CreateShareRemoteOperationIT : AbstractIT() {
|
||||
private var ownCloudVersion: OwnCloudVersion? = null
|
||||
|
||||
@Before
|
||||
fun before() {
|
||||
val result = GetStatusRemoteOperation(context).execute(client)
|
||||
assertTrue(result.isSuccess)
|
||||
val data = result.data as ArrayList<Any>
|
||||
ownCloudVersion = data[0] as OwnCloudVersion
|
||||
Assume.assumeTrue(ownCloudVersion?.isNewerOrEqual(NextcloudVersion.nextcloud_24) == true)
|
||||
val ownCloudVersion = data[0] as OwnCloudVersion
|
||||
Assume.assumeTrue(ownCloudVersion.isNewerOrEqual(NextcloudVersion.nextcloud_24))
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user