Commit 91c184d3 by Torkel Ödegaard

elasticseach: fixed broken unit test

parent 3b235612
...@@ -42,7 +42,7 @@ describe('ElasticDatasource', function() { ...@@ -42,7 +42,7 @@ describe('ElasticDatasource', function() {
ctx.$rootScope.$apply(); ctx.$rootScope.$apply();
var today = moment.utc().format("YYYY.MM.DD"); var today = moment.utc().format("YYYY.MM.DD");
expect(requestOptions.url).to.be("http://es.com/asd-" + today + '/_stats'); expect(requestOptions.url).to.be("http://es.com/asd-" + today + '/_mapping');
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment