From 455b6f0de6bbc135a51f2a77510863edee8b3cae Mon Sep 17 00:00:00 2001 From: TobiGr Date: Wed, 21 Oct 2026 17:17:54 +0200 Subject: [PATCH] Apply description changes in tests --- .../video/comment/CommentSectionInstrumentedTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/androidTest/java/org/schabi/newpipe/ui/components/video/comment/CommentSectionInstrumentedTest.kt b/app/src/androidTest/java/org/schabi/newpipe/ui/components/video/comment/CommentSectionInstrumentedTest.kt index 78088f4a2..f47882ce8 100644 --- a/app/src/androidTest/java/org/schabi/newpipe/ui/components/video/comment/CommentSectionInstrumentedTest.kt +++ b/app/src/androidTest/java/org/schabi/newpipe/ui/components/video/comment/CommentSectionInstrumentedTest.kt @@ -89,7 +89,7 @@ class CommentSectionInstrumentedTest { fun commentListLoadsAndScrolls() { val comments = (1..25).map { index -> CommentsInfoItem( - commentText = Description("Comment $index", Description.PLAIN_TEXT), + commentText = Description("Comment $index", Description.Type.PLAIN_TEXT), uploaderName = "Uploader $index", replies = Page(""), replyCount = 0 @@ -135,7 +135,7 @@ class CommentSectionInstrumentedTest { .performClick() val recoveredComment = CommentsInfoItem( - commentText = Description("Recovered comment", Description.PLAIN_TEXT), + commentText = Description("Recovered comment", Description.Type.PLAIN_TEXT), uploaderName = "Uploader", replies = Page(""), replyCount = 0 @@ -181,7 +181,7 @@ class CommentSectionInstrumentedTest { .performClick() val recoveredComment = CommentsInfoItem( - commentText = Description("Recovered comment", Description.PLAIN_TEXT), + commentText = Description("Recovered comment", Description.Type.PLAIN_TEXT), uploaderName = "Uploader", replies = Page(""), replyCount = 0 @@ -226,7 +226,7 @@ class CommentSectionInstrumentedTest { .performClick() val firstComment = CommentsInfoItem( - commentText = Description("First comment", Description.PLAIN_TEXT), + commentText = Description("First comment", Description.Type.PLAIN_TEXT), uploaderName = "Uploader", replies = Page(""), replyCount = 0