Skip to content

Commit 5e2777f

Browse files
authored
Remove test, fix typo
1 parent 5f993b7 commit 5e2777f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

tests/system/Database/Live/SelectTest.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)