Merge "Change the url in testDownloadWithDownloadManagerDisallowed" am: 42cbf4ebab
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1771008 Change-Id: I2546f362d5b338aad56afec489742a0b79ec0ca8
This commit is contained in:
commit
ca4a4a1b86
1 changed files with 2 additions and 1 deletions
|
|
@ -1213,7 +1213,8 @@ public class VpnTest extends InstrumentationTestCase {
|
|||
new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE));
|
||||
|
||||
// Enqueue a request and check only one download.
|
||||
final long id = dm.enqueue(new Request(Uri.parse("https://www.google.com")));
|
||||
final long id = dm.enqueue(new Request(
|
||||
Uri.parse("https://google-ipv6test.appspot.com/ip.js?fmt=text")));
|
||||
assertEquals(1, getTotalNumberDownloads(dm, new Query()));
|
||||
assertEquals(1, getTotalNumberDownloads(dm, new Query().setFilterById(id)));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue