From 95793ba02608c1d633b55b488ab272f1316d6f26 Mon Sep 17 00:00:00 2001 From: Jonathan Lamim Date: Sun, 23 Feb 2020 18:06:06 -0300 Subject: [PATCH] Fixed Bug: testOrHavingBy() requires a select | #2584 --- tests/system/Database/Live/GroupTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/system/Database/Live/GroupTest.php b/tests/system/Database/Live/GroupTest.php index 6083d79baef3..6fc467543e57 100644 --- a/tests/system/Database/Live/GroupTest.php +++ b/tests/system/Database/Live/GroupTest.php @@ -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')