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()