@@ -42,7 +42,7 @@ func TestListPolicies(t *testing.T) {
42
42
Name : "Missing app Label" ,
43
43
Severity : "medium" ,
44
44
Code : "foo" ,
45
- CreatedAt : "0001-01-01 00 :00:00 +0000 UTC " ,
45
+ CreatedAt : "0001-01-01T00 :00:00Z " ,
46
46
Targets : & capiv1_proto.PolicyTargets {
47
47
Labels : []* capi_server.PolicyTargetLabel {
48
48
{
@@ -55,7 +55,7 @@ func TestListPolicies(t *testing.T) {
55
55
Name : "Missing Owner Label" ,
56
56
Severity : "high" ,
57
57
Code : "foo" ,
58
- CreatedAt : "0001-01-01 00 :00:00 +0000 UTC " ,
58
+ CreatedAt : "0001-01-01T00 :00:00Z " ,
59
59
Targets : & capiv1_proto.PolicyTargets {
60
60
Labels : []* capi_server.PolicyTargetLabel {
61
61
{
@@ -96,7 +96,7 @@ func TestListPolicies(t *testing.T) {
96
96
},
97
97
},
98
98
},
99
- CreatedAt : "0001-01-01 00 :00:00 +0000 UTC " ,
99
+ CreatedAt : "0001-01-01T00 :00:00Z " ,
100
100
Parameters : []* capi_server.PolicyParam {
101
101
{
102
102
Name : "key" ,
@@ -137,7 +137,7 @@ func TestListPolicies(t *testing.T) {
137
137
},
138
138
},
139
139
},
140
- CreatedAt : "0001-01-01 00 :00:00 +0000 UTC " ,
140
+ CreatedAt : "0001-01-01T00 :00:00Z " ,
141
141
Parameters : []* capi_server.PolicyParam {
142
142
{
143
143
Name : "key" ,
@@ -178,7 +178,7 @@ func TestListPolicies(t *testing.T) {
178
178
},
179
179
},
180
180
},
181
- CreatedAt : "0001-01-01 00 :00:00 +0000 UTC " ,
181
+ CreatedAt : "0001-01-01T00 :00:00Z " ,
182
182
Parameters : []* capi_server.PolicyParam {
183
183
{
184
184
Name : "key" ,
@@ -219,7 +219,7 @@ func TestListPolicies(t *testing.T) {
219
219
},
220
220
},
221
221
},
222
- CreatedAt : "0001-01-01 00 :00:00 +0000 UTC " ,
222
+ CreatedAt : "0001-01-01T00 :00:00Z " ,
223
223
Parameters : []* capi_server.PolicyParam {
224
224
{
225
225
Name : "key" ,
@@ -317,7 +317,7 @@ func TestGetPolicy(t *testing.T) {
317
317
},
318
318
},
319
319
},
320
- CreatedAt : "0001-01-01 00 :00:00 +0000 UTC " ,
320
+ CreatedAt : "0001-01-01T00 :00:00Z " ,
321
321
},
322
322
},
323
323
},
0 commit comments