diff --git a/elastic4s-tests/src/test/scala/com/sksamuel/elastic4s/requests/aliases/AliasesHttpTest.scala b/elastic4s-tests/src/test/scala/com/sksamuel/elastic4s/requests/aliases/AliasesHttpTest.scala index 1651e09964..52d97b60b2 100644 --- a/elastic4s-tests/src/test/scala/com/sksamuel/elastic4s/requests/aliases/AliasesHttpTest.scala +++ b/elastic4s-tests/src/test/scala/com/sksamuel/elastic4s/requests/aliases/AliasesHttpTest.scala @@ -40,8 +40,8 @@ class AliasesHttpTest extends AnyWordSpec with Matchers with DockerTests { "multiple operations" in { client.execute { aliases( - removeAlias("beaches_alias").on("beaches"), - addAlias("mountains_alias").on("mountains") + removeAlias("beaches_alias", "beaches"), + addAlias("mountains_alias", "mountains") ) }.await.result should be(AliasActionResponse(true))