Explorar el Código

test get Lead by ID

master
Patrick Peng Sun hace 8 años
padre
commit
0585dae2b4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      crmLead_test.go

+ 1
- 1
crmLead_test.go Ver fichero

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

Cargando…
Cancelar
Guardar