Skip to content

Commit

Permalink
Merge 0994123 into 001082d
Browse files Browse the repository at this point in the history
  • Loading branch information
d00rman committed May 23, 2017
2 parents 001082d + 0994123 commit 05d2d3b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions config.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ default_project: &default_project
domains: /./
dbname: test.db.sqlite3 # ignored in cassandra, but useful in SQLite testing
parsoid:
host: http://parsoid-beta.wmflabs.org
host: https://parsoid-beta.wmflabs.org
action:
apiUriTemplate: "{{'https://{domain}/w/api.php'}}"
baseUriTemplate: "{{'https://{domain}/api/rest_v1'}}"
graphoid:
host: http://graphoid-beta.wmflabs.org
host: https://graphoid-beta.wmflabs.org
mathoid:
host: http://mathoid-beta.wmflabs.org
host: https://mathoid-beta.wmflabs.org
# 10 days Varnish caching, one day client-side
cache-control: s-maxage=864000, max-age=86400
mobileapps:
host: http://appservice.wmflabs.org
host: https://appservice.wmflabs.org
citoid:
host: http://citoid-beta.wmflabs.org
host: https://citoid-beta.wmflabs.org
events: {}
purged_cache_control: test_purged_cache_control
# Cache control for purged endpoints allowing short-term client caching
Expand Down
2 changes: 1 addition & 1 deletion test/features/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function assertStorageRequest(requests, method, bucket, expected) {
}

function assertMCSRequest(requests, content, date, expected) {
let serviceURI = `http://appservice.wmflabs.org/en.wikipedia.org/v1/${content}`;
let serviceURI = `https://appservice.wmflabs.org/en.wikipedia.org/v1/${content}`;
if (date) {
serviceURI += `/${date}`;
}
Expand Down
2 changes: 1 addition & 1 deletion test/features/security/security.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('router - security', function() {

it('should forward cookies on request to parsoid', function() {
nock.enableNetConnect();
var parsoidURI = 'http://parsoid-beta.wmflabs.org';
var parsoidURI = 'https://parsoid-beta.wmflabs.org';
var title = 'Test';
var revision = 117795883;
var api = nock(parsoidURI, {
Expand Down
6 changes: 3 additions & 3 deletions test/utils/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function remoteRequests(slice, expected) {
return false;
}
hasRec = true;
return entry.req && /^http/.test(entry.req.uri);
return entry.req && /^https?/.test(entry.req.uri);
});
if (!hasRec) {
// there were no records in the slice, so
Expand All @@ -75,8 +75,8 @@ function remoteRequests(slice, expected) {
*/
function findParsoidRequest(slice) {
var logEntry = slice.get().find(function(line) {
var entry = JSON.parse(line);
return entry.req && /^http:\/\/parsoid/.test(entry.req.uri);
var entry = JSON.parse(line);
return entry.req && /^https?:\/\/parsoid/.test(entry.req.uri);
});
return JSON.parse(logEntry).req;
}
Expand Down

0 comments on commit 05d2d3b

Please sign in to comment.