From 6c2d3beecdb3807e5234420b64b5c1a85c649e76 Mon Sep 17 00:00:00 2001 From: Nick Bradbury Date: Thu, 16 Jan 2025 16:20:28 -0500 Subject: [PATCH] Fixed test --- .../wordpress/android/fluxc/comment/CommentSqlUtilsTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/fluxc/src/test/java/org/wordpress/android/fluxc/comment/CommentSqlUtilsTest.kt b/libs/fluxc/src/test/java/org/wordpress/android/fluxc/comment/CommentSqlUtilsTest.kt index 3bbe93c21ab9..ad134539f92b 100644 --- a/libs/fluxc/src/test/java/org/wordpress/android/fluxc/comment/CommentSqlUtilsTest.kt +++ b/libs/fluxc/src/test/java/org/wordpress/android/fluxc/comment/CommentSqlUtilsTest.kt @@ -239,9 +239,9 @@ class CommentSqlUtilsTest { val remoteComments = generateCommentModels(50, ALL) // exclude first 3 comments - remoteComments.removeFirst() - remoteComments.removeFirst() - remoteComments.removeFirst() + remoteComments.removeAt(0) + remoteComments.removeAt(0) + remoteComments.removeAt(0) commentsInDb.forEach { CommentSqlUtils.insertOrUpdateComment(it)