diff --git a/tests/DomainZones/DomainZonesTest.php b/tests/DomainZones/DomainZonesTest.php index 113d765c..5d837b9b 100644 --- a/tests/DomainZones/DomainZonesTest.php +++ b/tests/DomainZones/DomainZonesTest.php @@ -1063,6 +1063,7 @@ class DomainZonesTest extends TestCase { global $admin_userdata; + ob_start(); // get customer $json_result = Customers::getLocal($admin_userdata, array( 'loginname' => 'test1' @@ -1077,12 +1078,14 @@ class DomainZonesTest extends TestCase $result = json_decode($json_result, true); $this->assertTrue($result['data']); $this->assertEquals(200, http_response_code()); + ob_end_clean(); } public function testCustomerDomainZonesDeleteUnmodified() { global $admin_userdata; + ob_start(); // get customer $json_result = Customers::getLocal($admin_userdata, array( 'loginname' => 'test1' @@ -1097,5 +1100,6 @@ class DomainZonesTest extends TestCase $result = json_decode($json_result, true); $this->assertTrue($result['data']); $this->assertEquals(304, http_response_code()); + ob_end_clean(); } }