Initialize CMS application scaffold
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
commit
b50c054b30
39 changed files with 3040 additions and 0 deletions
13
internal/identity/provider_test.go
Normal file
13
internal/identity/provider_test.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package identity
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGoogleProviderRequiresConfiguration(t *testing.T) {
|
||||
_, e := (GoogleProvider{}).Authenticate(context.Background(), "")
|
||||
if e == nil {
|
||||
t.Fatal("expected configuration error")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue