浏览代码

Fix tests

Gaël Métais 8 年之前
父节点
当前提交
76df43fe66
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');
                 // Check if the screenshot url is here
                 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;