From 6a76e1cc3c56ade67303ea16eedc253982e320c3 Mon Sep 17 00:00:00 2001 From: Junade Ali Date: Tue, 3 Oct 2017 18:08:32 +0100 Subject: [PATCH] Updated DNSTest style. --- tests/Endpoints/DNSTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Endpoints/DNSTest.php b/tests/Endpoints/DNSTest.php index 3035b5b..66eb9d9 100644 --- a/tests/Endpoints/DNSTest.php +++ b/tests/Endpoints/DNSTest.php @@ -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')