From 3cb8fe517fbdd800acfa5f6aff250938ca7b5470 Mon Sep 17 00:00:00 2001 From: develric Date: Fri, 17 Apr 2020 12:37:33 +0200 Subject: [PATCH] Fixing unit testing conflict not detected by github during merge. --- .../org/wordpress/android/ui/posts/FeaturedImageHelperTest.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/WordPress/src/test/java/org/wordpress/android/ui/posts/FeaturedImageHelperTest.kt b/WordPress/src/test/java/org/wordpress/android/ui/posts/FeaturedImageHelperTest.kt index 0e1c5eaaccf1..9379846e44d9 100644 --- a/WordPress/src/test/java/org/wordpress/android/ui/posts/FeaturedImageHelperTest.kt +++ b/WordPress/src/test/java/org/wordpress/android/ui/posts/FeaturedImageHelperTest.kt @@ -318,12 +318,13 @@ class FeaturedImageHelperTest { eq("https://testing.com/url.jpg"), anyInt(), anyInt(), + anyBoolean(), anyBoolean() ) } @Test - fun `createCurrent-State returns uses thumbnailUrl is not empty`() { + fun `createCurrent-State uses thumbnailUrl if it is not empty`() { // Arrange val post: PostImmutableModel = mock() whenever(post.hasFeaturedImage()).thenReturn(true) @@ -343,6 +344,7 @@ class FeaturedImageHelperTest { "https://testing.com/thumbnail.jpg"), anyInt(), anyInt(), + anyBoolean(), anyBoolean() ) }