mitchell852 closed pull request #2444: fix broken test URL: https://github.com/apache/trafficcontrol/pull/2444
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/traffic_ops_golang/origin/origins_test.go b/traffic_ops/traffic_ops_golang/origin/origins_test.go index bc4aecb43..7036171a0 100644 --- a/traffic_ops/traffic_ops_golang/origin/origins_test.go +++ b/traffic_ops/traffic_ops_golang/origin/origins_test.go @@ -29,6 +29,7 @@ import ( "github.com/apache/trafficcontrol/lib/go-log" "github.com/apache/trafficcontrol/lib/go-tc" "github.com/apache/trafficcontrol/lib/go-tc/v13" + "github.com/apache/trafficcontrol/lib/go-util" "github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/api" "github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/auth" "github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/test" @@ -51,7 +52,7 @@ func getTestOrigins() []v13.Origin { IP6Address: util.StrPtr("dead:beef:cafe::42"), IPAddress: util.StrPtr("10.2.3.4"), IsPrimary: util.BoolPtr(false), - LastUpdated: util.NewTimeNoMod(), + LastUpdated: tc.NewTimeNoMod(), Name: util.StrPtr("originName"), Port: util.IntPtr(443), Profile: util.StrPtr("profile"), ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services