Provisioning: Skip validation when writing v1 dashbaords (#103893)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user