OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package server |
|
|
|
import "testing" |
|
|
|
func TestNewTemplates(t *testing.T) { |
|
var config TemplateConfig |
|
if _, err := loadTemplates(config); err != nil { |
|
t.Fatal(err) |
|
} |
|
} |
|
|
|
func TestLoadTemplates(t *testing.T) { |
|
var config TemplateConfig |
|
|
|
config.Dir = "../web/templates" |
|
}
|
|
|