diff options
Diffstat (limited to 'tests/simple_unit/TableGateway/CountTest.php')
-rw-r--r-- | tests/simple_unit/TableGateway/CountTest.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/simple_unit/TableGateway/CountTest.php b/tests/simple_unit/TableGateway/CountTest.php index 56ffb19b..0e159ab0 100644 --- a/tests/simple_unit/TableGateway/CountTest.php +++ b/tests/simple_unit/TableGateway/CountTest.php @@ -1,16 +1,16 @@ <?php -
-require_once(dirname(__FILE__).'/BaseGatewayTest.php');
-
-class CountTest extends BaseGatewayTest
-{
- function test_simple_count()
- {
- $result = $this->getGateway2()->count();
- $this->assertEqual(44,$result);
-
- $result = $this->getGateway2()->count('department_id = ?', 1);
- $this->assertEqual(4, $result);
- }
+ +require_once(dirname(__FILE__).'/BaseGatewayTest.php'); + +class CountTest extends BaseGatewayTest +{ + function test_simple_count() + { + $result = $this->getGateway2()->count(); + $this->assertEqual(44,$result); + + $result = $this->getGateway2()->count('department_id = ?', 1); + $this->assertEqual(4, $result); + } } ?>
\ No newline at end of file |