ソースを参照

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

読み込み中…
キャンセル
保存