mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
updating test case
This commit is contained in:
parent
db5f6c8bb6
commit
873e35a292
@ -106,7 +106,7 @@ func SendEndpointTest(
|
||||
// |
|
||||
// connected,group ,
|
||||
// | |
|
||||
// | confirmed,nogroup pending,nogroup |
|
||||
// | , pending,nogroup |
|
||||
// |/ \|
|
||||
// C --- connected,group connected,group --- D
|
||||
//
|
||||
@ -192,9 +192,6 @@ func AddTestGroup(prefix string) (*TestGroup, error) {
|
||||
if g.C.A.GroupId, err = GroupTestCard(g.C.Token, g.C.A.CardId); err != nil {
|
||||
return g, err
|
||||
}
|
||||
if g.C.B.CardId, err = AddTestCard(g.C.Token, g.B.Token); err != nil {
|
||||
return g, err
|
||||
}
|
||||
|
||||
// setup D
|
||||
if g.D.C.CardId, err = AddTestCard(g.D.Token, g.C.Token); err != nil {
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestUpdateContact(t *testing.T) {
|
||||
func TestUpdateProfile(t *testing.T) {
|
||||
// setup testing group
|
||||
set, err := AddTestGroup("updatecontact")
|
||||
set, err := AddTestGroup("updateprofile")
|
||||
assert.NoError(t, err)
|
||||
|
||||
PrintMsg(set)
|
Loading…
Reference in New Issue
Block a user