Provisioning: Skip validation when writing v1 dashbaords (#103893)

This commit is contained in:
Ryan McKinley
2025-04-11 16:04:00 +00:00
committed by GitHub
parent 40127072e5
commit ac7edd3032
4 changed files with 36 additions and 10 deletions
@@ -34,7 +34,7 @@ func TestParser(t *testing.T) {
Data: []byte("hello"), // not a real resource
})
require.Error(t, err)
require.Equal(t, "classic resource must be JSON", err.Error())
require.Equal(t, "unable to read file as a resource", err.Error())
})
t.Run("dashboard parsing (with and without name)", func(t *testing.T) {