Updated DNSTest style.

This commit is contained in:
Junade Ali
2017-10-03 18:08:32 +01:00
parent 8ffd3e3541
commit 6a76e1cc3c

View File

@@ -93,13 +93,13 @@ class DNSTest extends TestCase
$mock = $this->getMockBuilder(\Cloudflare\API\Adapter\Adapter::class)->getMock();
$mock->method('put')->willReturn($response);
$details = array(
$details = [
'type' => 'A',
'name' => "example.com",
'content' => "1.2.3.4",
'ttl' => 120,
'proxied' => false,
);
];
$mock->expects($this->once())
->method('put')