Przeglądaj źródła

Fix still failing test

Gaël Métais 8 lat temu
rodzic
commit
9d2d99b5ba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      test/api/apiTest.js

+ 1 - 1
test/api/apiTest.js

@@ -660,7 +660,7 @@ describe('api', function() {
 
 
         request({
         request({
             method: 'GET',
             method: 'GET',
-            url: serverUrl + screenshotUrl
+            url: serverUrl + '/' + screenshotUrl
         }, function(error, response, body) {
         }, function(error, response, body) {
             if (!error && response.statusCode === 200) {
             if (!error && response.statusCode === 200) {
                 response.headers['content-type'].should.equal('image/jpeg');
                 response.headers['content-type'].should.equal('image/jpeg');