Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Commit 570bb2b

Browse files
author
Daniel Opitz
committed
Update test
1 parent f596b2b commit 570bb2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/FunctionBuilderTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public function testCount()
9090

9191
$this->assertEquals('COUNT(*)', $func->count());
9292
$this->assertEquals('COUNT(`field`)', $func->count('field'));
93+
$this->assertEquals('COUNT(`field`) AS `alias_field`', $func->count('field')->alias('alias_field'));
9394

9495
$query = $this->getConnection()->select()->from('users');
9596
$query->columns($query->func()->count());

0 commit comments

Comments
 (0)