From 66e2ba45cac41f9099180c281e1767ebae4a226f Mon Sep 17 00:00:00 2001 From: Edoardo Zuliani Date: Thu, 2 Jan 2025 14:04:52 +0100 Subject: [PATCH] fix api --- 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 29f93ed..5496b4b 100755 --- a/tests/Endpoints/RulesListsTest.php +++ b/tests/Endpoints/RulesListsTest.php @@ -52,7 +52,7 @@ class RulesListsTest extends TestCase $result = $rulesLists->getLists('01a7362d577a6c3019a474fd6f485823'); $this->assertObjectHasAttribute('result', $result); - $this->assertEquals('2c0fc9fa937b11eaa1b71c4d701ab86e', $result->result[0]->id); + $this->assertEquals('2c0fc9fa937b11eaa1b71c4d701ab86e', $result[0]->id); $this->assertEquals('2c0fc9fa937b11eaa1b71c4d701ab86e', $rulesLists->getBody()->result[0]->id); }