Skip to content

Commit

Permalink
Add missing vectors with "//" in url to functional tests (Dash-Indust…
Browse files Browse the repository at this point in the history
…ry-Forum#3997)

* Add missing vectors with "//" in url to functional tests

* Missing .url
  • Loading branch information
dsilhavy authored Jul 22, 2022
1 parent b903950 commit e3ab669
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/streams.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports.getStreams = function () {
for (var j = 0; j < group.submenu.length; j++) {
var stream = group.submenu[j];
stream.name = groupName + ' / ' + stream.name;
if(stream.url.substr(0,2) === '//') {
stream.url = intern.config.protocol + ':' + stream.url;
}
streams.push(stream);
}
}
Expand Down

0 comments on commit e3ab669

Please sign in to comment.