From 4b3587d14afdd3a95aea7a668a47404599f39d5d Mon Sep 17 00:00:00 2001 From: CollinBeczak Date: Mon, 15 Apr 2024 13:10:48 -0500 Subject: [PATCH] include new parameter in more tests --- .../maproulette/framework/service/TaskReviewServiceSpec.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/org/maproulette/framework/service/TaskReviewServiceSpec.scala b/test/org/maproulette/framework/service/TaskReviewServiceSpec.scala index f6327c31..bf952d2b 100644 --- a/test/org/maproulette/framework/service/TaskReviewServiceSpec.scala +++ b/test/org/maproulette/framework/service/TaskReviewServiceSpec.scala @@ -100,6 +100,7 @@ class TaskReviewServiceSpec(implicit val application: Application) extends Frame var result2 = this.service.nextTaskReview( reviewUser, SearchParameters(), + lastChallengeId = Some(result.get.parent), lastTaskId = Some(result.get.id), sort = "id", order = "DESC" @@ -144,6 +145,7 @@ class TaskReviewServiceSpec(implicit val application: Application) extends Frame var task = this.service.nextTaskReview( reviewUser, SearchParameters(), + lastChallengeId = Some(reviewTask.parent), lastTaskId = Some(reviewTask.id), sort = "id", order = "ASC"