mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-11-02 04:34:28 +00:00
Apply description changes in tests
This commit is contained in:
1 parent
c36e660c52
commit
455b6f0de6
1 file changed
+4
-4
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user