This is an automated email from the ASF dual-hosted git repository. mitchell852 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit 7f740643a80f9cbeca5ac4d2ded42306af76ea8d Author: Dewayne Richardson <dewr...@apache.org> AuthorDate: Wed Apr 4 13:54:29 2018 -0600 updated the test case for the v13 struct --- .../profileparameter/profile_parameters_test.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 5ad3d28..9e7ce20 100644 --- a/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters_test.go +++ b/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters_test.go @@ -24,6 +24,7 @@ import ( "time" "github.com/apache/incubator-trafficcontrol/lib/go-tc" + "github.com/apache/incubator-trafficcontrol/lib/go-tc/v13" "github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/api" "github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/auth" "github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/test" @@ -32,14 +33,14 @@ import ( sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" ) -func getTestProfileParameters() []tc.ProfileParameterNullable { - pps := []tc.ProfileParameterNullable{} +func getTestProfileParameters() []v13.ProfileParameterNullable { + pps := []v13.ProfileParameterNullable{} lastUpdated := tc.TimeNoMod{} lastUpdated.Scan(time.Now()) profileID := 1 parameterID := 1 - pp := tc.ProfileParameterNullable{ + pp := v13.ProfileParameterNullable{ LastUpdated: &lastUpdated, ProfileID: &profileID, ParameterID: ¶meterID, @@ -65,7 +66,7 @@ func TestGetProfileParameters(t *testing.T) { defer db.Close() testPPs := getTestProfileParameters() - cols := test.ColsFromStructByTag("db", tc.ProfileParameterNullable{}) + cols := test.ColsFromStructByTag("db", v13.ProfileParameterNullable{}) rows := sqlmock.NewRows(cols) for _, ts := range testPPs { -- To stop receiving notification emails like this one, please contact mitchell...@apache.org.