@@ -35,8 +35,8 @@ func TestActionsService_ListRepoVariables(t *testing.T) {
3535 want := & ActionsVariables {
3636 TotalCount : 4 ,
3737 Variables : []* ActionsVariable {
38- {Name : "A" , Value : "AA" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}},
39- {Name : "B" , Value : "BB" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}},
38+ {Name : "A" , Value : "AA" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}},
39+ {Name : "B" , Value : "BB" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}},
4040 },
4141 }
4242 if ! cmp .Equal (variables , want ) {
@@ -78,8 +78,8 @@ func TestActionsService_ListRepoOrgVariables(t *testing.T) {
7878 want := & ActionsVariables {
7979 TotalCount : 4 ,
8080 Variables : []* ActionsVariable {
81- {Name : "A" , Value : "AA" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}},
82- {Name : "B" , Value : "BB" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}},
81+ {Name : "A" , Value : "AA" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}},
82+ {Name : "B" , Value : "BB" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}},
8383 },
8484 }
8585 if ! cmp .Equal (variables , want ) {
@@ -119,8 +119,8 @@ func TestActionsService_GetRepoVariable(t *testing.T) {
119119 want := & ActionsVariable {
120120 Name : "NAME" ,
121121 Value : "VALUE" ,
122- CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )},
123- UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )},
122+ CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )},
123+ UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )},
124124 }
125125 if ! cmp .Equal (variable , want ) {
126126 t .Errorf ("Actions.GetRepoVariable returned %+v, want %+v" , variable , want )
@@ -296,8 +296,8 @@ func TestActionsService_GetOrgVariable(t *testing.T) {
296296 want := & ActionsVariable {
297297 Name : "NAME" ,
298298 Value : "VALUE" ,
299- CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )},
300- UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )},
299+ CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )},
300+ UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )},
301301 Visibility : Ptr ("selected" ),
302302 SelectedRepositoriesURL : Ptr ("https://api.github.com/orgs/octo-org/actions/variables/VAR/repositories" ),
303303 }
@@ -573,8 +573,8 @@ func TestActionsService_ListEnvVariables(t *testing.T) {
573573 want := & ActionsVariables {
574574 TotalCount : 4 ,
575575 Variables : []* ActionsVariable {
576- {Name : "A" , Value : "AA" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}},
577- {Name : "B" , Value : "BB" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )}},
576+ {Name : "A" , Value : "AA" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}},
577+ {Name : "B" , Value : "BB" , CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}, UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )}},
578578 },
579579 }
580580 if ! cmp .Equal (variables , want ) {
@@ -614,8 +614,8 @@ func TestActionsService_GetEnvVariable(t *testing.T) {
614614 want := & ActionsVariable {
615615 Name : "variable" ,
616616 Value : "VAR" ,
617- CreatedAt : & Timestamp {time .Date (2019 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )},
618- UpdatedAt : & Timestamp {time .Date (2020 , time .January , 02 , 15 , 04 , 05 , 0 , time .UTC )},
617+ CreatedAt : & Timestamp {time .Date (2019 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )},
618+ UpdatedAt : & Timestamp {time .Date (2020 , time .January , 2 , 15 , 4 , 5 , 0 , time .UTC )},
619619 }
620620 if ! cmp .Equal (variable , want ) {
621621 t .Errorf ("Actions.GetEnvVariable returned %+v, want %+v" , variable , want )
0 commit comments