From 6a6c9359af269131c324325577be832a24ea2e66 Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Sat, 19 Mar 2022 17:02:26 +0100 Subject: [PATCH] Fixed kurzgesagt test - They changed their description... --- .../services/youtube/YoutubeChannelExtractorTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java index 94966913b..6b2c489dc 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java @@ -399,7 +399,8 @@ public class YoutubeChannelExtractorTest { @Test public void testDescription() throws Exception { - ExtractorAsserts.assertContains("small team who want to make science look beautiful", extractor.getDescription()); + ExtractorAsserts.assertContains("science", extractor.getDescription()); + ExtractorAsserts.assertContains("animators", extractor.getDescription()); //TODO: Description get cuts out, because the og:description is optimized and don't have all the content //assertTrue(description, description.contains("Currently we make one animation video per month")); }