Skip to content

Commit 4b0935b

Browse files
committed
magento-engcom/bulk-api#4 Support for Async operations in WebAPI
- Fixed integration tests
1 parent 7758019 commit 4b0935b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

dev/tests/integration/testsuite/Magento/Webapi/Controller/Rest/SchemaRequestProcessorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ class SchemaRequestProcessorTest extends AbstractController
1818
*/
1919
public function testSchemaRequest($path)
2020
{
21+
ob_start();
2122
$this->dispatch($path);
23+
ob_end_clean();
2224
$schema = $this->getResponse()->getBody();
2325

2426
// Check that an HTTP 200 response status is visible in the schema.

dev/tests/integration/testsuite/Magento/WebapiAsync/Controller/Rest/AsynchronousSchemaRequestProcessorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ class AsynchronousSchemaRequestProcessorTest extends AbstractController
1919
*/
2020
public function testSchemaRequest($path)
2121
{
22+
ob_start();
2223
$this->dispatch($path);
24+
ob_end_clean();
2325
$schema = $this->getResponse()->getBody();
2426

2527
// Check that an HTTP 202 response is visible for what is normally an HTTP 200.

0 commit comments

Comments
 (0)