diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-03-11 16:18:03 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-03-11 16:18:03 +0100 |
commit | 53eb6da9f490cf449b79965c0e88a797fcae8ae1 (patch) | |
tree | cfb435acbea32c3b69fbcf17febc6d8c486ea58c /server/sonar-web/src/test/js/coding-rules-page-inheritance-facet.js | |
parent | 15d13dc7d2c4bbe0943a6972e5c102277637e855 (diff) | |
download | sonarqube-53eb6da9f490cf449b79965c0e88a797fcae8ae1.tar.gz sonarqube-53eb6da9f490cf449b79965c0e88a797fcae8ae1.zip |
move l10n mock to the express
Diffstat (limited to 'server/sonar-web/src/test/js/coding-rules-page-inheritance-facet.js')
-rw-r--r-- | server/sonar-web/src/test/js/coding-rules-page-inheritance-facet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/test/js/coding-rules-page-inheritance-facet.js b/server/sonar-web/src/test/js/coding-rules-page-inheritance-facet.js index 64cb89a71ef..3b0375a7cf8 100644 --- a/server/sonar-web/src/test/js/coding-rules-page-inheritance-facet.js +++ b/server/sonar-web/src/test/js/coding-rules-page-inheritance-facet.js @@ -31,7 +31,7 @@ casper.test.begin('coding-rules-page-inheritance-facet', 11, function (test) { .start(lib.buildUrl('coding-rules'), function () { lib.setDefaultViewport(); - lib.mockRequest('/api/l10n/index', '{}'); + lib.mockRequestFromFile('/api/rules/app', 'app.json'); lib.mockRequestFromFile('/api/rules/search', 'search-not-inherited.json', { data: { inheritance: 'NONE' } }); lib.mockRequestFromFile('/api/rules/search', 'search-inherited.json', { data: { inheritance: 'INHERITED' } }); |