You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2018/06/26 18:55:02 UTC

[trafficcontrol] 11/15: test deleting tenant

This is an automated email from the ASF dual-hosted git repository.

dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit d1e9cc7c500586b3008f92eedd28e23f70d09419
Author: Dan Kirkwood <da...@apache.org>
AuthorDate: Thu Jun 21 16:58:55 2018 -0600

    test deleting tenant
---
 traffic_ops/testing/api/v13/tenants_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traffic_ops/testing/api/v13/tenants_test.go b/traffic_ops/testing/api/v13/tenants_test.go
index 519b088..dc08086 100644
--- a/traffic_ops/testing/api/v13/tenants_test.go
+++ b/traffic_ops/testing/api/v13/tenants_test.go
@@ -25,7 +25,7 @@ func TestTenants(t *testing.T) {
 	CreateTestTenants(t)
 	UpdateTestTenants(t)
 	GetTestTenants(t)
-	//DeleteTestTenants(t)
+	DeleteTestTenants(t)
 }
 
 func CreateTestTenants(t *testing.T) {
@@ -117,7 +117,7 @@ func DeleteTestTenants(t *testing.T) {
 
 		delResp, err := TOSession.DeleteTenant(strconv.Itoa(respTenant.ID))
 		if err != nil {
-			t.Errorf("cannot DELETE Tenant by name: %v - %v\n", err, delResp)
+			t.Errorf("cannot DELETE Tenant: %v - %v\n", err, delResp)
 		}
 
 		// Retrieve the Tenant to see if it got deleted