From 0f4c055b7b2aed26d3b7fb7343fd5ed8db58613a Mon Sep 17 00:00:00 2001 From: DenTray Date: Tue, 17 Dec 2024 11:21:48 +0600 Subject: [PATCH] Update tests/BaseRequestTest.php --- tests/BaseRequestTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/BaseRequestTest.php b/tests/BaseRequestTest.php index ff003eb..ee2a376 100644 --- a/tests/BaseRequestTest.php +++ b/tests/BaseRequestTest.php @@ -19,9 +19,9 @@ public function testGetOrderableFields() $method = $reflectionClass->getMethod('getOrderableFields'); $result = $method->invoke($baseRequest, TestModel::class); - $modelFields = 'id,name,json_field,castable_field,*,created_at,updated_at'; + $expectedResult = 'id,name,json_field,castable_field,*,created_at,updated_at'; - $this->assertEquals($modelFields, $result); + $this->assertEquals($expectedResult, $result); } public function testGetOrderableFieldsWithAdditionalFields()