mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
config: Replace robfig with envconfig for #86
- Initial envconfig system is working, not bulletproof. - Added sane defaults for required parameters.
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
func TestShouldStoreDomain(t *testing.T) {
|
||||
// Test with storage enabled.
|
||||
ap := &policy.Addressing{
|
||||
Config: config.SMTPConfig{
|
||||
Config: config.SMTP{
|
||||
DomainNoStore: "Foo.Com",
|
||||
StoreMessages: true,
|
||||
},
|
||||
@@ -36,7 +36,7 @@ func TestShouldStoreDomain(t *testing.T) {
|
||||
}
|
||||
// Test with storage disabled.
|
||||
ap = &policy.Addressing{
|
||||
Config: config.SMTPConfig{
|
||||
Config: config.SMTP{
|
||||
StoreMessages: false,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user