File tree Expand file tree Collapse file tree
tests/system/Database/Live Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,15 +118,6 @@ public function testSelectSumWithAlias()
118118
119119 //--------------------------------------------------------------------
120120
121- public function testSelectCountNoColumn ()
122- {
123- $ result = $ this ->db ->table ('job ' )->selectCount ()->get ()->getRow ();
124-
125- $ this ->assertEquals (4 , $ result ->count );
126- }
127-
128- //--------------------------------------------------------------------
129-
130121 public function testSelectCount ()
131122 {
132123 $ result = $ this ->db ->table ('job ' )->selectCount ('id ' )->get ()->getRow ();
@@ -138,7 +129,7 @@ public function testSelectCount()
138129
139130 public function testSelectCountWithAlias ()
140131 {
141- $ result = $ this ->db ->table ('job ' )->selectSum ('id ' , 'xam ' )->get ()->getRow ();
132+ $ result = $ this ->db ->table ('job ' )->selectCount ('id ' , 'xam ' )->get ()->getRow ();
142133
143134 $ this ->assertEquals (4 , $ result ->xam );
144135 }
You can’t perform that action at this time.
0 commit comments