diff --git a/internal/ui/config/testdata/backend-local.conf b/internal/ui/config/testdata/backend-local.conf new file mode 100644 index 000000000..008df90ca --- /dev/null +++ b/internal/ui/config/testdata/backend-local.conf @@ -0,0 +1,8 @@ +backend "foo" { + type = "local" + path = "/srv/data/repo" +} + +backend "bar" { + path = "/srv/data/repo" +} diff --git a/internal/ui/config/testdata/backend-local.golden b/internal/ui/config/testdata/backend-local.golden new file mode 100644 index 000000000..27ec770c5 --- /dev/null +++ b/internal/ui/config/testdata/backend-local.golden @@ -0,0 +1,17 @@ +{ + "Repo": "", + "Password": "", + "PasswordFile": "", + "Backends": { + "bar": { + "Type": "" + }, + "foo": { + "Type": "local" + } + }, + "Backup": { + "Target": null, + "Excludes": null + } +}