Migrate acquisition fixtures to document-root controls
This commit is contained in:
@@ -21,7 +21,7 @@ func TestSearchLoadMatchesExplicitFileThroughImportsAndContext(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
root := t.TempDir()
|
||||
mainPath := writeImportFile(t, root, "app.yml", `configkit:
|
||||
mainPath := writeImportFile(t, root, "app.yml", `config:
|
||||
imports: [{path: fragments/extra.yml}]
|
||||
settings: {main: selected}
|
||||
`)
|
||||
@@ -52,7 +52,7 @@ func TestSearchLayeredMainAndUnderlayMatchExplicitFiles(t *testing.T) {
|
||||
|
||||
root := t.TempDir()
|
||||
mainPath := writeImportFile(t, root, "main.yml", "settings: {main: value}\n")
|
||||
underlayPath := writeImportFile(t, root, "underlay/base.yml", `configkit:
|
||||
underlayPath := writeImportFile(t, root, "underlay/base.yml", `config:
|
||||
imports: [{path: extra.yml}]
|
||||
settings: {underlay: value}
|
||||
`)
|
||||
|
||||
Reference in New Issue
Block a user