mirror of
https://github.com/fumiama/tienyik.git
synced 2026-06-04 23:10:26 +08:00
19 lines
234 B
Go
19 lines
234 B
Go
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()
|
|
}
|
|
}
|