@@ -15,6 +15,7 @@ func testOptions() *Options {
1515 o.CookieSecret = "foobar"
1616 o.ClientID = "bazquux"
1717 o.ClientSecret = "xyzzyplugh"
18+ o.EmailDomains = []string{"*"}
1819 return o
1920}
2021
@@ -27,6 +28,7 @@ func errorMsg(msgs []string) string {
2728
2829func TestNewOptions(t *testing.T) {
2930 o := NewOptions()
31+ o.EmailDomains = []string{"*"}
3032 err := o.Validate()
3133 assert.NotEqual(t, nil, err)
3234