Update ZoneDeleteTest.php
This commit is contained in:
committed by
GitHub
parent
274517553c
commit
8e279f2217
@@ -3,7 +3,7 @@ class ZoneDeleteTest 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);
|
||||||
$mock->expects($this->once())
|
$mock->expects($this->once())
|
||||||
|
|||||||
Reference in New Issue
Block a user