Skip to content

Commit

Permalink
Fixed InstanceServerUploaderTaskTest
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Jan 10, 2019
1 parent bd64ced commit 234b218
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package org.odk.collect.android.tasks;

import android.net.Uri;
import android.support.test.rule.GrantPermissionRule;

import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.odk.collect.android.dao.InstancesDao;
import org.odk.collect.android.dto.Instance;
Expand All @@ -22,6 +24,10 @@
import static org.odk.collect.android.test.TestUtils.resetInstancesContentProvider;

public class InstanceServerUploaderTaskTest extends MockedServerTest {

@Rule
public GrantPermissionRule runtimepermissionrule = GrantPermissionRule.grant(android.Manifest.permission.READ_PHONE_STATE);

private InstancesDao dao;

@Before
Expand Down

0 comments on commit 234b218

Please sign in to comment.