Skip to content

Commit

Permalink
Merge pull request #2595 from jlamim/Bug_testOrHavingBy
Browse files Browse the repository at this point in the history
Fixed Bug: testOrHavingBy() requires a select | #2584
  • Loading branch information
MGatner authored Feb 24, 2020
2 parents ea4b7cc + 95793ba commit 223047e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/system/Database/Live/GroupTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public function testHavingBy()
public function testOrHavingBy()
{
$result = $this->db->table('user')
->select('id')
->groupBy('id')
->having('id >', 3)
->orHaving('SUM(id) > 2')
Expand Down

0 comments on commit 223047e

Please sign in to comment.