Skip to content

Commit

Permalink
Update tests/QueryTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Divine <48183131+divine@users.noreply.github.com>
  • Loading branch information
apeisa and divine authored Jul 25, 2022
1 parent f7895bc commit f670c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ public function testOrder(): void

public function testStringableOrder(): void
{
$age = new stringableObject('age');
$age = str('age');

$user = User::whereNotNull('age')->orderBy($age, 'asc')->first();
$this->assertEquals(13, $user->age);
Expand Down

0 comments on commit f670c5f

Please sign in to comment.