From 369160682d7eaff0f8edf0701a069c3240dd9ad1 Mon Sep 17 00:00:00 2001 From: Edoardo Zuliani Date: Thu, 2 Jan 2025 14:07:00 +0100 Subject: [PATCH] fix api --- tests/Endpoints/RulesListsTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/Endpoints/RulesListsTest.php b/tests/Endpoints/RulesListsTest.php index 5496b4b..1070534 100755 --- a/tests/Endpoints/RulesListsTest.php +++ b/tests/Endpoints/RulesListsTest.php @@ -51,9 +51,7 @@ class RulesListsTest extends TestCase $rulesLists = new \Cloudflare\API\Endpoints\RulesLists($mock); $result = $rulesLists->getLists('01a7362d577a6c3019a474fd6f485823'); - $this->assertObjectHasAttribute('result', $result); $this->assertEquals('2c0fc9fa937b11eaa1b71c4d701ab86e', $result[0]->id); - $this->assertEquals('2c0fc9fa937b11eaa1b71c4d701ab86e', $rulesLists->getBody()->result[0]->id); }