diff --git a/WordPress/src/test/java/org/wordpress/android/ui/engagement/usecases/GetLikesUseCaseTest.kt b/WordPress/src/test/java/org/wordpress/android/ui/engagement/usecases/GetLikesUseCaseTest.kt index a6b553172e56..5863a88c5743 100644 --- a/WordPress/src/test/java/org/wordpress/android/ui/engagement/usecases/GetLikesUseCaseTest.kt +++ b/WordPress/src/test/java/org/wordpress/android/ui/engagement/usecases/GetLikesUseCaseTest.kt @@ -343,9 +343,9 @@ class GetLikesUseCaseTest : BaseUnitTest() { OnCommentLikesChanged( siteId, commentId, - false + false, + FETCHED_COMMENT_LIKES ).apply { - causeOfChange = FETCHED_COMMENT_LIKES error = CommentError( CommentErrorType.AUTHORIZATION_REQUIRED, "Error occurred" @@ -387,9 +387,9 @@ class GetLikesUseCaseTest : BaseUnitTest() { OnCommentLikesChanged( siteId, commentId, - false + false, + FETCHED_COMMENT_LIKES ).apply { - causeOfChange = FETCHED_COMMENT_LIKES error = CommentError( CommentErrorType.AUTHORIZATION_REQUIRED, errorMessage @@ -431,9 +431,9 @@ class GetLikesUseCaseTest : BaseUnitTest() { OnCommentLikesChanged( siteId, commentId, - false + false, + FETCHED_COMMENT_LIKES ).apply { - causeOfChange = FETCHED_COMMENT_LIKES error = CommentError( CommentErrorType.AUTHORIZATION_REQUIRED, errorMessage @@ -476,9 +476,9 @@ class GetLikesUseCaseTest : BaseUnitTest() { OnCommentLikesChanged( siteId, commentId, - false + false, + FETCHED_COMMENT_LIKES ).apply { - causeOfChange = FETCHED_COMMENT_LIKES commentLikes = likeData } ) @@ -512,9 +512,9 @@ class GetLikesUseCaseTest : BaseUnitTest() { OnCommentLikesChanged( siteId, commentId, - false + false, + FETCHED_COMMENT_LIKES ).apply { - causeOfChange = FETCHED_COMMENT_LIKES commentLikes = likeData } ) diff --git a/build.gradle b/build.gradle index fc4961d993b3..845eb09329b9 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ ext { automatticTracksVersion = '3.3.0' gutenbergMobileVersion = 'v1.106.0' wordPressAztecVersion = 'v1.8.0' - wordPressFluxCVersion = 'trunk-6eee26f191edc73d3934ad5876d4a9b7b1456a9f' + wordPressFluxCVersion = 'trunk-5f7448d86213648f402c2e04af738ec5904ebb31' wordPressLoginVersion = '1.6.0' wordPressPersistentEditTextVersion = '1.0.2' wordPressUtilsVersion = '3.10.0'