mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
LoginIT: Add retry test rule
Flaaaaaaky. Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
65f6c194ce
commit
81b133adc7
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,7 @@ import android.accounts.Account;
|
|||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
|
||||
import com.nextcloud.client.RetryTestRule;
|
||||
import com.nextcloud.client.account.UserAccountManager;
|
||||
import com.nextcloud.client.account.UserAccountManagerImpl;
|
||||
import com.owncloud.android.AbstractIT;
|
||||
|
@ -59,6 +60,8 @@ import static org.junit.Assert.assertEquals;
|
|||
public class LoginIT extends AbstractIT {
|
||||
@Rule
|
||||
public GrantPermissionRule permissionRule = GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE);
|
||||
@Rule
|
||||
public RetryTestRule retryTestRule = new RetryTestRule();
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
|
|
Loading…
Reference in a new issue