From 799ce2445f47aa56faa4d73d8cf5799467610125 Mon Sep 17 00:00:00 2001 From: AshuSoni-crest Date: Thu, 24 Jun 2021 13:45:42 +0530 Subject: [PATCH] rebased to master --- tests/tenant_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tenant_test.go b/tests/tenant_test.go index acdf398e..4c567cea 100644 --- a/tests/tenant_test.go +++ b/tests/tenant_test.go @@ -87,7 +87,7 @@ func TestTenantCreation(t *testing.T) { func TestDomCreate(t *testing.T) { c := GetTestClient() - dom := models.NewVMMDomain(fmt.Sprintf("dom-%s", "test"), "uni/vmmp-VMware", "", models.VMMDomainAttributes{}) + dom := models.NewVMMDomain(fmt.Sprintf("dom-%s", "test"), "uni/vmmp-VMware", models.VMMDomainAttributes{}) err := c.Save(dom) t.Error(err) } @@ -96,7 +96,7 @@ func TestGetDN(t *testing.T) { path := "api/node/mo/uni/tn-tenant_for_bd/out-testext.json" className := "l3extOut" cont, err := c.GetViaURL(path) - dn := cont.Search("imdata", className, "attributes", "dn").String() + //dn := cont.Search("imdata", className, "attributes", "dn").String() t.Error(err)