Skip to content

Commit 3712e17

Browse files
committed
dry: look up container url in constants.js
1 parent 0fd57ba commit 3712e17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/image/assets/get_image_request_options.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
var path = require('path');
22
var constants = require('../../../tasks/util/constants');
33

4-
var DEFAULT_URL = 'http://localhost:9010/';
54
var DEFAULT_FORMAT = 'png';
65
var DEFAULT_SCALE = 1;
76

@@ -26,7 +25,7 @@ module.exports = function getRequestOpts(specs) {
2625

2726
return {
2827
method: 'POST',
29-
url: specs.url || DEFAULT_URL,
28+
url: constants.testContainerUrl,
3029
body: JSON.stringify(body)
3130
};
3231
};

0 commit comments

Comments
 (0)