]> source.dussan.org Git - sonarqube.git/commitdiff
Fix additional logging for web MTs
authorStas Vilchik <vilchiks@gmail.com>
Wed, 3 Dec 2014 10:20:03 +0000 (11:20 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 3 Dec 2014 10:20:03 +0000 (11:20 +0100)
server/sonar-web/src/main/js/tests/e2e/lib.js

index d68458facfb3698bc087be7dee06150adb524400..0b23b65f8425bb0bf8cd374c61b47cfe44694eba 100644 (file)
@@ -61,8 +61,8 @@ exports.mockRequest = mockRequest;
 
 
 exports.mockRequestFromFile = function (url, fileName, options) {
-  var response = fs.read(fileName);
   console.log('mock request "' + url + '" from file "' + fs.workingDirectory + fs.separator + fileName + '"');
+  var response = fs.read(fileName);
   return mockRequest(url, response, options);
 };