Skip to content

Commit e1df545

Browse files
committed
[XPACK] Update tests for changed xpack paths
1 parent f339ae0 commit e1df545

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

elasticsearch-xpack/test/unit/graph/explore_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class GraphExploreTest < Minitest::Test
2727
should "perform correct request" do
2828
subject.expects(:perform_request).with do |method, url, params, body|
2929
assert_equal 'GET', method
30-
assert_equal '_xpack/_graph/_explore', url
30+
assert_equal '_graph/explore', url
3131
assert_equal Hash.new, params
3232
assert_equal nil, body
3333
true

elasticsearch-xpack/test/unit/machine_learning/delete_forecast_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class XPackMlDeleteForecastTest < Minitest::Test
1010
should "perform correct request" do
1111
subject.expects(:perform_request).with do |method, url, params, body|
1212
assert_equal 'DELETE', method
13-
assert_equal "_xpack/ml/anomaly_detectors/foo/_forecast/", url
13+
assert_equal "_ml/anomaly_detectors/foo/_forecast/", url
1414
assert_equal Hash.new, params
1515
assert_nil body
1616
true

0 commit comments

Comments
 (0)