Skip to content

Commit df75384

Browse files
committed
fix tests
1 parent d27b91c commit df75384

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/pkg/digger/digger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ func TestCorrectCommandExecutionWhenApplying(t *testing.T) {
281281

282282
commandStrings := allCommandsInOrderWithParams(terraformExecutor, commandRunner, prManager, lock, planStorage, planPathProvider)
283283

284-
assert.Equal(t, []string{"RetrievePlan plan", "Init ", "Apply -lock-timeout=3m", "PublishComment 1 <details open=\"false\"><summary>Apply output</summary>\n\n```terraform\n\n```\n</details>", "Run echo"}, commandStrings)
284+
assert.Equal(t, []string{"RetrievePlan plan", "Init ", "Apply -lock-timeout=3m", "PublishComment 1 <details ><summary>Apply output</summary>\n\n```terraform\n\n```\n</details>", "Run echo"}, commandStrings)
285285
}
286286

287287
func TestCorrectCommandExecutionWhenDestroying(t *testing.T) {

libs/comment_utils/reporting/source_grouping.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (r SourceGroupingReporter) UpdateComment(sourceDetails []SourceDetails, loc
9292
if isPlan {
9393
commenter = utils.GetTerraformOutputAsCollapsibleComment(fmt.Sprintf("Plan for %v", project), expanded)
9494
} else {
95-
commenter = utils.GetTerraformOutputAsCollapsibleComment(fmt.Sprintf("Apply for %v", project), expanded)
95+
commenter = utils.GetTerraformOutputAsCollapsibleComment(fmt.Sprintf("Apply for %v", project), false)
9696
}
9797
message = message + commenter(terraformOutputs[project]) + "\n"
9898
}

0 commit comments

Comments
 (0)