Merge remote-tracking branch 'origin/1.6.x' into fix-manual-templates

This commit is contained in:
Matej Bačo
2024-08-14 16:00:34 +00:00
2 changed files with 3 additions and 0 deletions
@@ -1646,6 +1646,8 @@ class FunctionsCustomServerTest extends Scope
$this->assertEquals(201, $execution['headers']['status-code']);
$this->assertStringContainsString('multipart/form-data', $execution['headers']['content-type']);
$contentType = explode(';', $execution['headers']['content-type']);
$this->assertStringContainsString('boundary=----', $contentType[1]);
$bytes = unpack('C*byte', $execution['body']['responseBody']);
$this->assertCount(3, $bytes);
$this->assertEquals(0, $bytes['byte1']);