From b6b60aab2c9f18dbffff38df90aae5badbb3e0cc Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Tue, 22 Jun 2021 19:19:54 -0400 Subject: [PATCH] fix the build Signed-off-by: Rui Chen --- server/events/project_command_context_builder_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/events/project_command_context_builder_test.go b/server/events/project_command_context_builder_test.go index 0d8c94767..6eca1e343 100644 --- a/server/events/project_command_context_builder_test.go +++ b/server/events/project_command_context_builder_test.go @@ -85,7 +85,7 @@ func TestProjectCommandContextBuilder_PullStatus(t *testing.T) { t.Run("when ParallelApply is set to true", func(t *testing.T) { projCfg.Name = "Apply Comment" When(mockCommentBuilder.BuildPlanComment(projRepoRelDir, projWorkspace, "", []string{})).ThenReturn(expectedPlanCmt) - When(mockCommentBuilder.BuildApplyComment(projRepoRelDir, projWorkspace, "")).ThenReturn(expectedApplyCmt) + When(mockCommentBuilder.BuildApplyComment(projRepoRelDir, projWorkspace, "", false)).ThenReturn(expectedApplyCmt) pullStatus.Projects = []models.ProjectStatus{ { Status: models.ErroredPlanStatus,