Skip to content

Commit

Permalink
Ignore outdated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rpdome committed Sep 4, 2024
1 parent f9a7312 commit 0a16707
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ public void run() {
}

@Test
@Ignore("ConnectionService check is now disabled by default")
public void testAcquireTokenByRefreshTokenConnectionNotAvailable() throws InterruptedException {
FileMockContext mockContext = new FileMockContext(getInstrumentation().getContext());
mockContext.setConnectionAvailable(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import org.json.JSONObject;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
Expand Down Expand Up @@ -369,6 +370,7 @@ public void testAuthorityInAliasedList() throws IOException {
}

@Test
@Ignore("ConnectionService check is now disabled by default")
public void testValidateAuthorityFailedWithoutNetwork() throws IOException {
final FileMockContext context = new FileMockContext(androidx.test.platform.app.InstrumentationRegistry.getInstrumentation().getContext());
final Discovery discovery = new Discovery(context);
Expand Down

0 comments on commit 0a16707

Please sign in to comment.