14 lines
242 B
Go
14 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")
|
||
|
|
}
|
||
|
|
}
|