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
141141 public function shouldCreateScheduleVariable (): void
142142 {
143143 $ expectedArray = [
144- 'key ' => 'FOO_BAR ' ,
144+ 'key ' => 'FOO_BAR ' ,
145145 'variable_type ' => 'env_var ' ,
146- 'value ' => 'BAZ ' ,
146+ 'value ' => 'BAZ ' ,
147147 ];
148148
149149 $ api = $ this ->getApiMock ();
@@ -166,15 +166,15 @@ public function shouldUpdateScheduleVariable(): void
166166 {
167167 $ variabelName = 'FOO_BAR ' ;
168168 $ expectedArray = [
169- 'key ' => $ variabelName ,
169+ 'key ' => $ variabelName ,
170170 'variable_type ' => 'env_var ' ,
171- 'value ' => 'BAZ ' ,
171+ 'value ' => 'BAZ ' ,
172172 ];
173173
174174 $ api = $ this ->getApiMock ();
175175 $ api ->expects ($ this ->once ())
176176 ->method ('put ' )
177- ->with ('projects/1/pipeline_schedules/2/variables/ ' . $ variabelName , $ expectedArray )
177+ ->with ('projects/1/pipeline_schedules/2/variables/ ' . $ variabelName , $ expectedArray )
178178 ->will ($ this ->returnValue ($ expectedArray ));
179179
180180 $ this ->assertEquals ($ expectedArray , $ api ->updateVariable (
You can’t perform that action at this time.
0 commit comments