go-tell/internal/identity/provider_test.go

14 lines
242 B
Go
Raw Normal View History

package identity
import (
"context"
"testing"
)
func TestGoogleProviderRequiresConfiguration(t *testing.T) {
_, e := (GoogleProvider{}).Authenticate(context.Background(), "")
if e == nil {
t.Fatal("expected configuration error")
}
}