public function testTableImplicitName() { Zend_Loader::loadClass('Zend_Db_Table_TableSpecial'); // TableSpecial.php contains class bugs_products too. $table = new zfbugs_products(array('db' => $this->_db)); $info = $table->info(); $this->assertContains('name', array_keys($info)); $this->assertEquals('zfbugs_products', $info['name']); }
public function testTableImplicitName() { include_once '_files/My/ZendDbTable/TableSpecial.php'; // TableSpecial.php contains class bugs_products too. $table = new zfbugs_products(array('db' => $this->_db)); $info = $table->info(); $this->assertContains('name', array_keys($info)); $this->assertEquals('zfbugs_products', $info['name']); }