Skip to content

Commit

Permalink
Revert "Revert "Move An LoC""
Browse files Browse the repository at this point in the history
This reverts commit 969fc8c.
  • Loading branch information
phily245 committed Jun 22, 2021
1 parent 969fc8c commit dfbc5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Endpoints/CustomHostnamesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public function testAddHostname()
{
$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(
Expand Down

0 comments on commit dfbc5a1

Please sign in to comment.