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