DylanVolz closed pull request #2740: Fix TO Go test for db access change
URL: https://github.com/apache/trafficcontrol/pull/2740
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/profileparameter/profile_parameters_test.go
b/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters_test.go
index fea3c7d3f..a3f53ebac 100644
--- a/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters_test.go
+++ b/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters_test.go
@@ -66,15 +66,13 @@ func TestGetProfileParameters(t *testing.T) {
defer db.Close()
testPPs := getTestProfileParameters()
- cols := test.ColsFromStructByTag("db", v13.ProfileParameterNullable{})
+ cols := test.ColsFromStructByTag("db", tc.ProfileParametersNullable{})
rows := sqlmock.NewRows(cols)
for _, ts := range testPPs {
rows = rows.AddRow(
ts.LastUpdated,
ts.Profile,
- ts.ProfileID,
- ts.Parameter,
ts.ParameterID,
)
}
----------------------------------------------------------------
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