Skip to content

Commit

Permalink
Update QueryDataTableTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulrhmansouda committed Apr 13, 2024
1 parent 33dfab5 commit a4fe13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/QueryDataTableTest.php
Expand Up @@ -156,6 +156,6 @@ public function assertQueryHasNoSelect($expected, $query)
{
$sql = $query->toSql();

$this->assertSame($expected, Str::startsWith($sql, 'select * from (select 1 as dt_row_count from'), "'{$sql}' is not wrapped");
$this->assertSame($expected, Str::startsWith($sql, 'select * from (select 1 as dt_row_count from') || Str::startsWith($sql, 'select * from (select 1 as row_count from'), "'{$sql}' is not wrapped");
}
}

0 comments on commit a4fe13a

Please sign in to comment.