updating test case

This commit is contained in:
Roland Osborne 2022-02-08 15:00:10 -08:00
parent db5f6c8bb6
commit 873e35a292
2 changed files with 3 additions and 6 deletions

View File

@ -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 {

View File

@ -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)