1
0
Fork 0
mirror of synced 2024-10-05 12:43:13 +13:00

Fix status code check

This commit is contained in:
Jake Barnby 2023-08-22 23:22:06 -04:00
parent 20de675bae
commit 08cc7e8c56
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -456,7 +456,7 @@ class FunctionsCustomClientTest extends Scope
'data' => 'foobar' 'data' => 'foobar'
]); ]);
$this->assertEquals(200, $execution['headers']['status-code']); $this->assertEquals(201, $execution['headers']['status-code']);
$base = $this->client->call(Client::METHOD_GET, '/functions/' . $functionId . '/executions', [ $base = $this->client->call(Client::METHOD_GET, '/functions/' . $functionId . '/executions', [
'content-type' => 'application/json', 'content-type' => 'application/json',