瀏覽代碼

test get Lead by ID

master
Patrick Peng Sun 8 年之前
父節點
當前提交
0585dae2b4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      crmLead_test.go

+ 1
- 1
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")
}

Loading…
取消
儲存