Bladeren bron

remove verifier

master
Patrick Peng Sun 8 jaren geleden
bovenliggende
commit
ba35bc48e2
2 gewijzigde bestanden met toevoegingen van 6 en 19 verwijderingen
  1. +2
    -0
      crmLead.go
  2. +4
    -19
      crmLead_test.go

+ 2
- 0
crmLead.go Bestand weergeven

@@ -12,6 +12,8 @@ type crmdLead struct {
//ID string `json:"id,omitempty"`
//Name string `json:"name,omitempty"`
//Deleted bool `json:"deleted,omitempty"`
AvatarID string `json:"avatarId,omitempty"`
AvatarName string `json:"avatarName,omotempty"`
SalutationName string `json:"salutationName,omitempty"`
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`

+ 4
- 19
crmLead_test.go Bestand weergeven

@@ -34,12 +34,7 @@ func TestDecodeLeadInfo(t *testing.T) {
"accountName": "",
"password": "abcdefg",
"wechatOpenID": "the user id obtained from wechat public account",
"verifier": [
"231823091",
"adkdaifaskfsafsa",
"394kfdjafdsa",
"39410498321041"
],

"opportunityAmountCurrency": null,
"opportunityAmountConverted": null,
"createdById": "1",
@@ -132,12 +127,7 @@ func TestCrmdLeadByCompleteInfo(t *testing.T) {
"accountName": "",
"password": "abcdefg",
"wechatOpenID": "the user id obtained from wechat public account",
"verifier": [
"231823091",
"adkdaifaskfsafsa",
"394kfdjafdsa",
"39410498321041"
],

"opportunityAmountCurrency": "AUD",
"opportunityAmountConverted": 120,
"emailAddressData": [
@@ -309,12 +299,7 @@ func TestSearchResult(t *testing.T) {
"accountName": "",
"password": "abcdefg",
"wechatOpenID": "the user id obtained from wechat public account",
"verifier": [
"231823091",
"adkdaifaskfsafsa",
"394kfdjafdsa",
"39410498321041"
],

"opportunityAmountCurrency": "AUD",
"opportunityAmountConverted": 120,
"createdById": "1",
@@ -355,7 +340,7 @@ func TestSearchResult(t *testing.T) {
"accountName": "",
"password": null,
"wechatOpenID": "the user id obtained from wechat public account",
"verifier": [],
"opportunityAmountCurrency": null,
"opportunityAmountConverted": null,
"createdById": "1",

Laden…
Annuleren
Opslaan