From b2187e7b5202e465a236ca60a12088fcfa5049a6 Mon Sep 17 00:00:00 2001 From: Edoardo Zuliani Date: Thu, 2 Jan 2025 15:42:37 +0100 Subject: [PATCH] fix test --- tests/Endpoints/RulesListsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Endpoints/RulesListsTest.php b/tests/Endpoints/RulesListsTest.php index bd6f74d..74755d6 100755 --- a/tests/Endpoints/RulesListsTest.php +++ b/tests/Endpoints/RulesListsTest.php @@ -41,7 +41,7 @@ class RulesListsTest extends TestCase $response = $this->getPsr7JsonResponseForFixture('Endpoints/deleteRulesList.json'); $mock = $this->getMockBuilder(\Cloudflare\API\Adapter\Adapter::class)->getMock(); - $mock->method('post')->willReturn($response); + $mock->method('delete')->willReturn($response); $mock->expects($this->once()) ->method('delete')