Test: thumbnail and authn / Modify: read thumbnail config from file

This commit is contained in:
HFO4 committed 2019-12-09 11:33:39 +08:00
1 parent f35c585edf
commit c3c0e92964
13 files changed
+491 -98

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
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)
}