From 028ac18e942049dfe6dc82e4750184e62940e274 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 22 Mar 2021 13:52:45 +0100 Subject: [PATCH] Update OutputReportParser.kt --- integration_tests/src/test/kotlin/utils/OutputReportParser.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration_tests/src/test/kotlin/utils/OutputReportParser.kt b/integration_tests/src/test/kotlin/utils/OutputReportParser.kt index 1c3acd1ef2..283b48e0a1 100644 --- a/integration_tests/src/test/kotlin/utils/OutputReportParser.kt +++ b/integration_tests/src/test/kotlin/utils/OutputReportParser.kt @@ -11,13 +11,13 @@ private val jsonMapper by lazy { JsonMapper().registerModule(KotlinModule()) } fun String.asOutputReport() = jsonMapper.readValue(this) val OutputReport.firstTestSuiteOverview: TestSuiteOverview - get() = testResults.values.first().first().testSuiteOverview + get() = testResults.values.first().testAxises.first().testSuiteOverview data class OutputReport( val args: Any, val cost: OutputReportCostNode? = null, val weblinks: List = emptyList(), - @JsonProperty("test_results") val testResults: Map> = emptyMap(), + @JsonProperty("test_results") val testResults: Map = emptyMap(), val error: String = "" )