Skip to content

Commit

Permalink
Change the snapshot diff test so it passes
Browse files Browse the repository at this point in the history
  • Loading branch information
jguionnet committed Dec 12, 2023
1 parent bd9d432 commit 852433e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/helm/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func TestRemoteChartRenderDiff(t *testing.T) {
var deployment appsv1.Deployment
UnmarshalK8SYaml(t, output, &deployment)

// run the diff and assert there are no differences
// run the diff and assert there is one difference: the image name
number_of_diffs := DiffAgainstSnapshot(output, releaseName)
require.Equal(t, number_of_diffs, 0)
require.Equal(t, 1, number_of_diffs)
}

0 comments on commit 852433e

Please sign in to comment.