mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2024-04-21 12:31:40 +00:00
16 lines
207 B
Go
16 lines
207 B
Go
package authn
|
|
|
|
import (
|
|
"github.com/stretchr/testify/assert"
|
|
"testing"
|
|
)
|
|
|
|
func TestInit(t *testing.T) {
|
|
asserts := assert.New(t)
|
|
|
|
asserts.NotPanics(func() {
|
|
Init()
|
|
})
|
|
asserts.NotNil(AuthnInstance)
|
|
}
|