Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/wrappers/pages.js

Issue 29891661: Noissue - Fixed test pages integration tests after change of subscription URL (Closed)
Patch Set: Created Sept. 25, 2018, 4:07 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/wrappers/pages.js
===================================================================
--- a/test/wrappers/pages.js
+++ b/test/wrappers/pages.js
@@ -17,7 +17,7 @@
"use strict";
-const TEST_PAGES_URL = "https://testpages.adblockplus.org/";
+const TEST_PAGES_URL = "https://testpages.adblockplus.org/en/";
Sebastian Noack 2018/09/25 16:12:06 Today a change landed for the test pages that caus
const assert = require("assert");
const Jimp = require("jimp");
@@ -79,8 +79,7 @@
ignoreDisabled: true,
downloadable: true}).then(subs =>
subs.some(s =>
- s.url.endsWith("${TEST_PAGES_URL.replace(/^[^:]+/, "")}" +
- "abp-testcase-subscription.txt")
+ s.url == "${TEST_PAGES_URL}abp-testcase-subscription.txt"
Sebastian Noack 2018/09/25 16:12:06 This was neccessary before, but no longer, because
)
).then(
res => callback([res, null]),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld