Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
zendframework/zendframework#5505 - constant usage instead of magic co…
Browse files Browse the repository at this point in the history
…nstants
  • Loading branch information
Ocramius committed Nov 12, 2014
1 parent 13b2dc4 commit a299354
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Adapter/DbTableGatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
namespace ZendTest\Paginator\Adapter;

use Zend\Db\Adapter\Platform\Sql92;
use Zend\Paginator\Adapter\DbSelect;
use Zend\Paginator\Adapter\DbTableGateway;
use Zend\Db\ResultSet\ResultSet;

Expand Down Expand Up @@ -74,7 +75,7 @@ public function testCount()
$mockResult = $this->getMock('Zend\Db\Adapter\Driver\ResultInterface');
$mockResult->expects($this->any())
->method('current')
->will($this->returnValue(array('c' => 10)));
->will($this->returnValue(array(DbSelect::ROW_COUNT_COLUMN_NAME => 10)));

$this->mockStatement->expects($this->any())
->method('execute')
Expand Down

0 comments on commit a299354

Please sign in to comment.