Skip to content

Commit

Permalink
fix grafana test
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Sequeira <filipe@weave.works>
  • Loading branch information
fsequeira1 committed Feb 4, 2022
1 parent e9c6208 commit 5348854
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/notifier/grafana_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ func TestGrafana_Post(t *testing.T) {
require.NoError(t, err)

require.Equal(t, "gitrepository/webapp.gitops-system", payload.Text)
require.Equal(t, "test: metadata", payload.Tags[0])
require.Equal(t, "flux", payload.Tags[0])
require.Equal(t, "source-controller", payload.Tags[1])
require.Equal(t, "test: metadata", payload.Tags[2])
}))
defer ts.Close()

Expand Down

0 comments on commit 5348854

Please sign in to comment.