Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Sep 7, 2023
1 parent d1f98af commit 34e52fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ func TestAppConfig(t *testing.T) {
}()

defAppConfig := DefaultConfig()
require.NoError(t, SetConfigTemplate(DefaultConfigTemplate))
require.NoError(t, WriteConfigFile(appConfigFile, defAppConfig))
SetConfigTemplate(DefaultConfigTemplate)
WriteConfigFile(appConfigFile, defAppConfig)

v := viper.New()
v.SetConfigFile(appConfigFile)
Expand Down

0 comments on commit 34e52fe

Please sign in to comment.