From a51725f002a643a7644346f0eae5f44dff9530b7 Mon Sep 17 00:00:00 2001 From: Fabrice Pipart Date: Sun, 26 May 2024 18:02:38 +0200 Subject: [PATCH] Change of data for live test --- .../mgp/it/endpoints/TestSessionTopSpeedsEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/teknichrono/mgp/it/endpoints/TestSessionTopSpeedsEndpoint.java b/src/test/java/org/teknichrono/mgp/it/endpoints/TestSessionTopSpeedsEndpoint.java index d19e73c..8226776 100644 --- a/src/test/java/org/teknichrono/mgp/it/endpoints/TestSessionTopSpeedsEndpoint.java +++ b/src/test/java/org/teknichrono/mgp/it/endpoints/TestSessionTopSpeedsEndpoint.java @@ -27,7 +27,7 @@ void parsesMaxSpeedPdf() { assertThat(speeds.topSpeeds.get(0).speed).isEqualTo(354.0f); assertThat(speeds.topSpeeds.get(0).motorcycle).isEqualToIgnoringCase("Ducati"); assertThat(speeds.topSpeeds.size()).isEqualTo(22); - assertThat(speeds.topSpeeds.stream().filter(m -> m.number == 23).findFirst().get().team).isEqualTo("Avintia Esponsorama"); + assertThat(speeds.topSpeeds.stream().filter(m -> m.number == 23).findFirst().get().team).contains("Esponsorama"); assertThat(speeds.topSpeeds).anyMatch(s -> s.number != null && s.rider != null &&