rename getHeartedByCreator and getPinned to isPinned and isHeartedByCreator

This commit is contained in:
bopol
2021-01-23 13:06:07 +01:00
parent 10e8c543e8
commit 2662ceca22
7 changed files with 14 additions and 14 deletions

View File

@@ -181,7 +181,7 @@ public class YoutubeCommentsExtractorTest {
assertFalse(Utils.isBlank(c.getUrl()));
assertFalse(c.getLikeCount() < 0);
assertFalse(Utils.isBlank(c.getCommentText()));
if (c.getHeartedByUploader()) {
if (c.isHeartedByUploader()) {
heartedByUploader = true;
}
}
@@ -222,7 +222,7 @@ public class YoutubeCommentsExtractorTest {
assertFalse(Utils.isBlank(c.getCommentText()));
}
assertTrue("First comment isn't pinned", comments.getItems().get(0).getPinned());
assertTrue("First comment isn't pinned", comments.getItems().get(0).isPinned());
}
}
}