(t *testing.T)
| 101 | } |
| 102 | |
| 103 | func TestValidateSecretConfigNames(t *testing.T) { |
| 104 | config := map[string]any{ |
| 105 | "configs": map[string]any{ |
| 106 | "bar": map[string]any{ |
| 107 | "name": "foobar", |
| 108 | }, |
| 109 | }, |
| 110 | "secrets": map[string]any{ |
| 111 | "baz": map[string]any{ |
| 112 | "name": "foobaz", |
| 113 | }, |
| 114 | }, |
| 115 | } |
| 116 | |
| 117 | assert.NilError(t, Validate(config)) |
| 118 | assert.NilError(t, Validate(config)) |
| 119 | } |
| 120 | |
| 121 | func TestValidatePlacement(t *testing.T) { |
| 122 | config := map[string]any{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…