rawlinp closed pull request #3101: Fix Test TO API loginfail to create cdns it
needs
URL: https://github.com/apache/trafficcontrol/pull/3101
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/traffic_ops/testing/api/v14/loginfail_test.go
b/traffic_ops/testing/api/v14/loginfail_test.go
index 7b6cbfde9..179b462b7 100644
--- a/traffic_ops/testing/api/v14/loginfail_test.go
+++ b/traffic_ops/testing/api/v14/loginfail_test.go
@@ -29,6 +29,12 @@ import (
)
func TestLoginFail(t *testing.T) {
+ CreateTestCDNs(t)
+ PostTestLoginFail(t)
+ DeleteTestCDNs(t)
+}
+
+func PostTestLoginFail(t *testing.T) {
log.Debugln("TestLoginFail")
// This specifically tests a previous bug: auth failure returning a
200, causing the client to think the request succeeded, and deserialize no
matching fields successfully, and return an empty object.
----------------------------------------------------------------
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