File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -141,9 +141,9 @@ public function shouldRemoveSchedule(): void
141
141
public function shouldCreateScheduleVariable (): void
142
142
{
143
143
$ expectedArray = [
144
- 'key ' => 'FOO_BAR ' ,
144
+ 'key ' => 'FOO_BAR ' ,
145
145
'variable_type ' => 'env_var ' ,
146
- 'value ' => 'BAZ ' ,
146
+ 'value ' => 'BAZ ' ,
147
147
];
148
148
149
149
$ api = $ this ->getApiMock ();
@@ -166,15 +166,15 @@ public function shouldUpdateScheduleVariable(): void
166
166
{
167
167
$ variabelName = 'FOO_BAR ' ;
168
168
$ expectedArray = [
169
- 'key ' => $ variabelName ,
169
+ 'key ' => $ variabelName ,
170
170
'variable_type ' => 'env_var ' ,
171
- 'value ' => 'BAZ ' ,
171
+ 'value ' => 'BAZ ' ,
172
172
];
173
173
174
174
$ api = $ this ->getApiMock ();
175
175
$ api ->expects ($ this ->once ())
176
176
->method ('put ' )
177
- ->with ('projects/1/pipeline_schedules/2/variables/ ' . $ variabelName , $ expectedArray )
177
+ ->with ('projects/1/pipeline_schedules/2/variables/ ' . $ variabelName , $ expectedArray )
178
178
->will ($ this ->returnValue ($ expectedArray ));
179
179
180
180
$ this ->assertEquals ($ expectedArray , $ api ->updateVariable (
You can’t perform that action at this time.
0 commit comments