This is an automated email from the ASF dual-hosted git repository.
zrhoffman 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 d7b817f Fix 403 forbidden in deliveryservices_test (#5214)
d7b817f is described below
commit d7b817fa03e2fc3c4fc88dafe0d77a6f31c0e585
Author: Srijeet Chatterjee <[email protected]>
AuthorDate: Wed Oct 28 12:10:30 2020 -0600
Fix 403 forbidden in deliveryservices_test (#5214)
---
traffic_ops/testing/api/v3/deliveryservices_test.go | 4 ----
1 file changed, 4 deletions(-)
diff --git a/traffic_ops/testing/api/v3/deliveryservices_test.go
b/traffic_ops/testing/api/v3/deliveryservices_test.go
index caad394..f21c50a 100644
--- a/traffic_ops/testing/api/v3/deliveryservices_test.go
+++ b/traffic_ops/testing/api/v3/deliveryservices_test.go
@@ -259,10 +259,6 @@ func SSLDeliveryServiceCDNUpdateTest(t *testing.T) {
ds.CDNID = &newCdn.ID
ds.CDNName = &newCdn.Name
_, _, err = TOSession.UpdateDeliveryServiceV30WithHdr(*ds.ID, ds, nil)
- if err != nil {
- t.Fatal(err)
- }
- _, _, err = TOSession.UpdateDeliveryServiceV30WithHdr(*ds.ID, ds, nil)
if err == nil {
t.Fatal("should not be able to update delivery service (cdn) as
it has ssl keys")
}