Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
iRedds committed Jan 2, 2022
1 parent 595b8a8 commit b6117b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system/Database/Builder/FromTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public function testFromSubquery()
$this->assertSame($expectedSQL, str_replace("\n", ' ', $builder->getCompiledSelect()));

$expectedSQL = 'SELECT * FROM (SELECT "id", "name" FROM "users") AS users_1';
$subquery = (new BaseBuilder('users', $this->db))->select('id, name');
$builder = $this->db->newQuery()->fromSubquery($subquery, 'users_1');
$subquery = (new BaseBuilder('users', $this->db))->select('id, name');
$builder = $this->db->newQuery()->fromSubquery($subquery, 'users_1');

$this->assertSame($expectedSQL, str_replace("\n", ' ', $builder->getCompiledSelect()));

Expand Down

0 comments on commit b6117b0

Please sign in to comment.