From 32a159d48fc871c78e177a33802abd628d47e0d1 Mon Sep 17 00:00:00 2001 From: krlvm <51774833+krlvm@users.noreply.github.com> Date: Sat, 27 Mar 2021 18:11:39 +0300 Subject: [PATCH] Fix error in tests --- .../org/schabi/newpipe/local/subscription/FeedGroupIconTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/java/org/schabi/newpipe/local/subscription/FeedGroupIconTest.kt b/app/src/test/java/org/schabi/newpipe/local/subscription/FeedGroupIconTest.kt index e6d4247ca..1479c3d1e 100644 --- a/app/src/test/java/org/schabi/newpipe/local/subscription/FeedGroupIconTest.kt +++ b/app/src/test/java/org/schabi/newpipe/local/subscription/FeedGroupIconTest.kt @@ -25,7 +25,7 @@ class FeedGroupIconTest { val usedIcons = HashSet() for (groupIcon in FeedGroupIcon.values()) { - val added = usedIcons.add(groupIcon.drawableResourceAttr) + val added = usedIcons.add(groupIcon.drawableResource) assertTrue("Repeated icon (current item: ${groupIcon.name} - ${groupIcon.id})", added) } }