Skip to content

Commit

Permalink
unit test updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kaatinga committed Sep 7, 2021
1 parent d7a6099 commit 6ccbfd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ type badEnvironmentSettings2PlusValidation struct {
}

type simpleConfig struct {
DBURL string `env:"DB_URL" default:"127.0.0.1" validate:"ip_addr"`
DBURL string `env:"DB_URL" default:"127.0.0.1" validate:"required"`
Timeout time.Duration `env:"DB_TIMEOUT" default:"5s"`
}

Expand Down

0 comments on commit 6ccbfd2

Please sign in to comment.