fix unittests for FroxlorRPC-class round #3 (maybe)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-02-25 15:51:26 +01:00
parent 5d7649a274
commit 01798650fe
3 changed files with 5 additions and 5 deletions

View File

@@ -929,7 +929,7 @@ class DomainZonesTest extends TestCase
$json_result = DomainZones::getLocal($customer_userdata, $data)->delete();
$result = json_decode($json_result, true);
$this->assertTrue($result['data']);
$this->assertEquals(200, $result['status']);
$this->assertEquals(200, http_response_code());
}
public function testCustomerDomainZonesDeleteUnmodified()
@@ -949,6 +949,6 @@ class DomainZonesTest extends TestCase
$json_result = DomainZones::getLocal($customer_userdata, $data)->delete();
$result = json_decode($json_result, true);
$this->assertTrue($result['data']);
$this->assertEquals(304, $result['status']);
$this->assertEquals(304, http_response_code());
}
}