Skip to content

Commit f670c5f

Browse files
apeisadivine
andauthored
Update tests/QueryTest.php
Co-authored-by: Divine <[email protected]>
1 parent f7895bc commit f670c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/QueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function testOrder(): void
241241

242242
public function testStringableOrder(): void
243243
{
244-
$age = new stringableObject('age');
244+
$age = str('age');
245245

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

0 commit comments

Comments
 (0)