@@ -228,13 +228,13 @@ public function testExecute(array $data): void
228228 $ response = $ this ->client ->call (Client::METHOD_POST , '/runtimes ' , [], $ params );
229229 $ this ->assertEquals (201 , $ response ['headers ' ]['status-code ' ]);
230230
231- $ response = $ this ->client ->call (Client::METHOD_POST , '/runtimes/test-exec/execution ' );
231+ $ response = $ this ->client ->call (Client::METHOD_POST , '/runtimes/test-exec/executions ' );
232232
233233 $ this ->assertEquals (200 , $ response ['headers ' ]['status-code ' ]);
234234 $ this ->assertEquals (200 , $ response ['body ' ]['statusCode ' ]);
235235
236236 /** Execute on cold-started runtime */
237- $ response = $ this ->client ->call (Client::METHOD_POST , '/runtimes/test-exec/execution ' , [], [
237+ $ response = $ this ->client ->call (Client::METHOD_POST , '/runtimes/test-exec/executions ' , [], [
238238 'body ' => 'test payload ' ,
239239 'variables ' => [
240240 'customVariable ' => 'mySecret '
@@ -248,7 +248,7 @@ public function testExecute(array $data): void
248248 $ this ->assertEquals (200 , $ response ['headers ' ]['status-code ' ]);
249249
250250 /** Execute on new runtime */
251- $ response = $ this ->client ->call (Client::METHOD_POST , '/runtimes/test-exec-coldstart/execution ' , [], [
251+ $ response = $ this ->client ->call (Client::METHOD_POST , '/runtimes/test-exec-coldstart/executions ' , [], [
252252 'source ' => $ data ['path ' ],
253253 'entrypoint ' => 'index.php ' ,
254254 'image ' => 'openruntimes/php:v3-8.1 ' ,
@@ -379,7 +379,7 @@ public function testScenarios(string $image, string $entrypoint, string $folder,
379379 $ path = $ response ['body ' ]['path ' ];
380380
381381 /** Execute function */
382- $ response = $ this ->client ->call (Client::METHOD_POST , "/runtimes/scenario-execute- {$ folder }/execution " , [], [
382+ $ response = $ this ->client ->call (Client::METHOD_POST , "/runtimes/scenario-execute- {$ folder }/executions " , [], [
383383 'source ' => $ path ,
384384 'entrypoint ' => $ entrypoint ,
385385 'image ' => $ image ,
@@ -448,7 +448,7 @@ public function testCustomRuntimes(string $folder, string $image, string $entryp
448448 $ path = $ response ['body ' ]['path ' ];
449449
450450 // Execute function
451- $ response = $ this ->client ->call (Client::METHOD_POST , "/runtimes/custom-execute- {$ folder }/execution " , [], [
451+ $ response = $ this ->client ->call (Client::METHOD_POST , "/runtimes/custom-execute- {$ folder }/executions " , [], [
452452 'source ' => $ path ,
453453 'entrypoint ' => $ entrypoint ,
454454 'image ' => $ image ,
0 commit comments