rawlinp commented on a change in pull request #2928: TO Client:  no ids 
required in input json
URL: https://github.com/apache/trafficcontrol/pull/2928#discussion_r227540436
 
 

 ##########
 File path: traffic_ops/testing/api/v14/tenants_test.go
 ##########
 @@ -62,11 +53,6 @@ func GetTestTenants(t *testing.T) {
        }
 
        for _, ten := range testData.Tenants {
-               resp, _, err := TOSession.TenantByName(ten.Name)
 
 Review comment:
   I'm currently getting this error when I run the TO Go API tests:
   ```
   # github.com/apache/trafficcontrol/traffic_ops/testing/api/v14
   ./tenants_test.go:56:10: resp.Name undefined (type []tc.Tenant has no field 
or method Name)
   ./tenants_test.go:57:58: resp.Name undefined (type []tc.Tenant has no field 
or method Name)
   FAIL github.com/apache/trafficcontrol/traffic_ops/testing/api/v14 [build 
failed]
   ```
   
   Was this code meant to be removed?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to