Skip to content

Commit

Permalink
Update tests/BaseRequestTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DenTray authored Dec 17, 2024
1 parent 6d42c05 commit 0f4c055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/BaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0f4c055

Please sign in to comment.