Gaël Métais 8 rokov pred
rodič
commit
76df43fe66
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      test/api/apiTest.js

+ 1 - 1
test/api/apiTest.js

@@ -187,7 +187,7 @@ describe('api', function() {
                 body.should.not.have.a.property('screenshotBuffer');
                 body.should.not.have.a.property('screenshotBuffer');
                 // Check if the screenshot url is here
                 // Check if the screenshot url is here
                 body.should.have.a.property('screenshotUrl');
                 body.should.have.a.property('screenshotUrl');
-                body.screenshotUrl.should.equal('/api/results/' + body.runId + '/screenshot.jpg');
+                body.screenshotUrl.should.equal('api/results/' + body.runId + '/screenshot.jpg');
 
 
                 screenshotUrl = body.screenshotUrl;
                 screenshotUrl = body.screenshotUrl;