| @@ -2,7 +2,6 @@ package main | |||
| import ( | |||
| "encoding/json" | |||
| "log" | |||
| "testing" | |||
| "time" | |||
| ) | |||
| @@ -105,7 +104,7 @@ func TestDecodeLeadInfo(t *testing.T) { | |||
| } | |||
| func TestcrmdLeadByCompleteInfo(t *testing.T) { | |||
| func TestCrmdLeadByCompleteInfo(t *testing.T) { | |||
| msg := `{ | |||
| "id": "58f4aa0682ea74bb8", | |||
| "name": "same email", | |||
| @@ -391,20 +390,6 @@ func TestSearchResultZero(t *testing.T) { | |||
| AssertEqual(t, len(r.List), 0, "") | |||
| } | |||
| func TestFindOpenIDOnline(t *testing.T) { | |||
| info, found, err := crmFindOpenID("weid1") | |||
| log.Println(info) | |||
| log.Println(found) | |||
| log.Println(err) | |||
| } | |||
| func TestLeadJsonCompose(t *testing.T) { | |||
| info := crmdLead{} | |||
| info.FirstName = "中文First" | |||
| } | |||
| func TestGetLead(t *testing.T) { | |||
| e := crmdLead{} | |||