diff --git a/crmLead_test.go b/crmLead_test.go index 9a31836..4f0a9d6 100644 --- a/crmLead_test.go +++ b/crmLead_test.go @@ -407,7 +407,7 @@ func TestLeadJsonCompose(t *testing.T) { func TestGetLead(t *testing.T) { SetupConfig() id := "595071f8450974b72" - r, err := crmGetLeadByID(id) + r, err := crmGetLead(id) AssertEqual(t, err, nil, "decode json should be nil") AssertEqual(t, r.ID, id, "Lead id should match") }