From 998a31d8135963488cdd23589e9048d1ce960bdc Mon Sep 17 00:00:00 2001 From: Jakub Chrobasik Date: Tue, 21 Nov 2023 15:30:36 +0100 Subject: [PATCH] chore: selenium tests to install CLI version fetched from core --- .../test/scala/ch/renku/acceptancetests/tooling/RenkuApi.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acceptance-tests/src/test/scala/ch/renku/acceptancetests/tooling/RenkuApi.scala b/acceptance-tests/src/test/scala/ch/renku/acceptancetests/tooling/RenkuApi.scala index 4165ca2e04..815775dff7 100644 --- a/acceptance-tests/src/test/scala/ch/renku/acceptancetests/tooling/RenkuApi.scala +++ b/acceptance-tests/src/test/scala/ch/renku/acceptancetests/tooling/RenkuApi.scala @@ -33,7 +33,7 @@ trait RenkuApi extends RestClient { val url = renkuBaseUrl / "api" / "renku" / "apiversion" GET(url) .send(whenReceived(status = Ok) >=> bodyToJson) - .extract(jsonRoot.`result`.`latest_version`.string.getOption) + .extract(jsonRoot.`result`.`cli_version`.string.getOption) .map(CliVersion.get(_).fold(error => fail(error.getMessage), identity)) .getOrElse(fail(s"CLI version couldn't be obtained from $url")) }