From e46f16f5417b0411526989a4029c3314bfde691e Mon Sep 17 00:00:00 2001 From: CodingPF Date: Fri, 7 Jun 2024 19:59:47 +0200 Subject: [PATCH] align unit test to optional --- .../mserver/crawler/zdf/json/ZdfFilmDetailDeserializerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/de/mediathekview/mserver/crawler/zdf/json/ZdfFilmDetailDeserializerTest.java b/src/test/java/de/mediathekview/mserver/crawler/zdf/json/ZdfFilmDetailDeserializerTest.java index b93ed3ba..b91f60d6 100644 --- a/src/test/java/de/mediathekview/mserver/crawler/zdf/json/ZdfFilmDetailDeserializerTest.java +++ b/src/test/java/de/mediathekview/mserver/crawler/zdf/json/ZdfFilmDetailDeserializerTest.java @@ -194,7 +194,7 @@ public void test() { expectedDuration, expectedDescription, expectedWebsite); - assertThat(actual.get().getUrl(), equalTo(expectedDownloadUrl)); + assertThat(actual.get().getUrl().get(), equalTo(expectedDownloadUrl)); assertThat(actual.get().getUrlSignLanguage(), equalTo(expectedDownloadUrlSignLanguage)); }