mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-14 17:40:43 -05:00
converted config file from JSON to YAML. (#132)
converted config file from JSON to YAML
This commit is contained in:
parent
eb9a959353
commit
b8d1cc2b75
4 changed files with 199 additions and 30 deletions
|
|
@ -77,7 +77,7 @@ func TestFromFile(t *testing.T) {
|
|||
require := require.New(t)
|
||||
|
||||
fileHandler := file.NewHandler(afero.NewMemMapFs())
|
||||
require.NoError(fileHandler.WriteJSON(configName, tc.from, file.OptNone))
|
||||
require.NoError(fileHandler.WriteYAML(configName, tc.from, file.OptNone))
|
||||
|
||||
result, err := FromFile(fileHandler, tc.configName)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue