Update method testDeleteTest
This commit is contained in:
committed by
GitHub
parent
440492e41c
commit
818e6e4505
@@ -265,7 +265,7 @@ class ZonesTest extends TestCase
|
|||||||
|
|
||||||
public function testDeleteTest()
|
public function testDeleteTest()
|
||||||
{
|
{
|
||||||
$response = $this->getPsr7JsonResponseForFixture('Endpoints/deleteTest.json');
|
$response = $this->getPsr7JsonResponseForFixture('Endpoints/deleteZoneTest.json');
|
||||||
|
|
||||||
$mock = $this->getMockBuilder(\Cloudflare\API\Adapter\Adapter::class)->getMock();
|
$mock = $this->getMockBuilder(\Cloudflare\API\Adapter\Adapter::class)->getMock();
|
||||||
$mock->method('delete')->willReturn($response);
|
$mock->method('delete')->willReturn($response);
|
||||||
|
|||||||
Reference in New Issue
Block a user