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/18 20:39:49 UTC

[trafficcontrol] branch master updated: Fix TO API Test for DS enum change

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


The following commit(s) were added to refs/heads/master by this push:
     new fee0592  Fix TO API Test for DS enum change
fee0592 is described below

commit fee0592bf636930a27f23672e7b36ed7e29f2d5b
Author: Robert Butts <ro...@apache.org>
AuthorDate: Mon Jun 18 14:37:21 2018 -0600

    Fix TO API Test for DS enum change
---
 traffic_ops/testing/api/v13/deliveryservices_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/testing/api/v13/deliveryservices_test.go b/traffic_ops/testing/api/v13/deliveryservices_test.go
index c943255..d28da8e 100644
--- a/traffic_ops/testing/api/v13/deliveryservices_test.go
+++ b/traffic_ops/testing/api/v13/deliveryservices_test.go
@@ -70,7 +70,7 @@ func CreateTestDeliveryServices(t *testing.T) {
 		}
 		ds.CDNID = respCDNs[0].ID
 
-		respTypes, _, err := TOSession.GetTypeByName(ds.Type)
+		respTypes, _, err := TOSession.GetTypeByName(string(ds.Type))
 		if err != nil {
 			t.Fatalf("cannot GET Type by name: %v\n", err)
 		}