Skip to content

Commit

Permalink
Addressing code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
safaci2000 committed Oct 31, 2023
1 parent a5765f3 commit ebd943d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func TestSetup(t *testing.T) {
log.Info(conf.ConfigFileUsed())

confobj := config.Config().GetAppConfig()
_ = confobj
log.Infof(confobj.ContextName)
assert.NotNil(t, conf)
context := conf.GetString("context_name")
Expand All @@ -61,7 +60,6 @@ func TestSetup(t *testing.T) {
}

func TestWatchedFoldersConfig(t *testing.T) {
os.Setenv("GDG_CONTEXT_NAME", "qa")
//clear all ENV values
for _, key := range os.Environ() {
if strings.Contains(key, "GDG_") {
Expand All @@ -75,7 +73,6 @@ func TestWatchedFoldersConfig(t *testing.T) {
log.Info(conf.ConfigFileUsed())

confobj := config.Config().GetAppConfig()
_ = confobj
log.Infof(confobj.ContextName)
assert.NotNil(t, conf)
context := conf.GetString("context_name")
Expand Down

0 comments on commit ebd943d

Please sign in to comment.