소스 검색

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…
취소
저장