From ed822d19ff21e477fabfe50f266d848b934f575c Mon Sep 17 00:00:00 2001 From: Phil Young Date: Tue, 22 Jun 2021 10:51:41 +0100 Subject: [PATCH] Move An LoC I needed to trigger a github action after a network timeout --- tests/Endpoints/CustomHostnamesTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Endpoints/CustomHostnamesTest.php b/tests/Endpoints/CustomHostnamesTest.php index f3fae3d..6af5448 100644 --- a/tests/Endpoints/CustomHostnamesTest.php +++ b/tests/Endpoints/CustomHostnamesTest.php @@ -14,11 +14,11 @@ class CustomHostnamesTest extends TestCase { $response = $this->getPsr7JsonResponseForFixture('Endpoints/createCustomHostname.json'); + $customSsl = $this->getCustomSsl(); + $mock = $this->getMockBuilder(\Cloudflare\API\Adapter\Adapter::class)->getMock(); $mock->method('post')->willReturn($response); - $customSsl = $this->getCustomSsl(); - $mock->expects($this->once()) ->method('post') ->with(