aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/test/helpers
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-09-29 11:35:18 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-09-29 13:39:25 +0200
commit8610286a81782605b0ec803c4981d28ddae7fca0 (patch)
treef8aead2a47b3947c4be86eae9028c4e52ad76c40 /server/sonar-web/test/helpers
parent634c7df11feac71cf27f519668fe8dbf477c7ab6 (diff)
downloadsonarqube-8610286a81782605b0ec803c4981d28ddae7fca0.tar.gz
sonarqube-8610286a81782605b0ec803c4981d28ddae7fca0.zip
sanitize web tests
Diffstat (limited to 'server/sonar-web/test/helpers')
-rw-r--r--server/sonar-web/test/helpers/test-page.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/test/helpers/test-page.js b/server/sonar-web/test/helpers/test-page.js
index 38ddea3a852..f9c7d5a5456 100644
--- a/server/sonar-web/test/helpers/test-page.js
+++ b/server/sonar-web/test/helpers/test-page.js
@@ -130,7 +130,7 @@ define(function (require) {
};
Command.prototype.mockFromFile = function (url, file, options) {
- var response = fs.readFileSync('src/test/json/' + file, 'utf-8');
+ var response = fs.readFileSync('test/json/' + file, 'utf-8');
return new this.constructor(this, function () {
return this.parent
.execute(function (url, response, options) {