You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/10/20 17:46:57 UTC

[GitHub] [trafficcontrol] ericholguin commented on a diff in pull request #7144: Use Generics in TO Integration Tests

ericholguin commented on code in PR #7144:
URL: https://github.com/apache/trafficcontrol/pull/7144#discussion_r1000939559


##########
traffic_ops/testing/api/v4/server_server_capabilities_test.go:
##########
@@ -216,25 +189,26 @@ func TestServerServerCapabilities(t *testing.T) {
 						})
 					case "POST":
 						t.Run(name, func(t *testing.T) {
-							alerts, reqInf, err := testCase.ClientSession.CreateServerServerCapability(ssc, testCase.RequestOpts)
-							for _, check := range testCase.Expectations {
-								check(t, reqInf, nil, alerts, err)
-							}
-						})
-					case "PUT":

Review Comment:
   server_server_capabilities doesn't have a PUT method, just moved that test for that route into its own test file: multiple_server_capabilities_test.go



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org