mirror of
https://github.com/fumiama/tienyik.git
synced 2026-06-11 02:20:24 +08:00
feat: add more apis
This commit is contained in:
18
api/auth/client/qrCode_test.go
Normal file
18
api/auth/client/qrCode_test.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/fumiama/tienyik/hcli"
|
||||
)
|
||||
|
||||
func TestGenData(t *testing.T) {
|
||||
r, err := GenData(nil, hcli.NewClient())
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(r)
|
||||
if r.QrCodeId == "" {
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user