From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- .../TableGateway/TableInfoGatewayTest.php | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tests/simple_unit/TableGateway/TableInfoGatewayTest.php') diff --git a/tests/simple_unit/TableGateway/TableInfoGatewayTest.php b/tests/simple_unit/TableGateway/TableInfoGatewayTest.php index 2be848c5..51af7634 100644 --- a/tests/simple_unit/TableGateway/TableInfoGatewayTest.php +++ b/tests/simple_unit/TableGateway/TableInfoGatewayTest.php @@ -1,17 +1,17 @@ getGateway()->getDbConnection(); - $this->add_record1(); - $this->add_record2(); - $info = TDbMetaData::getInstance($conn)->getTableInfo('address'); - $table = new TTableGateway($info, $conn); - $this->assertEqual(count($table->findAll()->readAll()), 2); - } + +require_once(dirname(__FILE__).'/BaseGatewayTest.php'); + +class TableInfoGatewayTest extends BaseGatewayTest +{ + function test_table_info() + { + $conn = $this->getGateway()->getDbConnection(); + $this->add_record1(); + $this->add_record2(); + $info = TDbMetaData::getInstance($conn)->getTableInfo('address'); + $table = new TTableGateway($info, $conn); + $this->assertEqual(count($table->findAll()->readAll()), 2); + } } ?> \ No newline at end of file -- cgit v1.2.3