public function testIsInstalled() { $installer = new Installer_Default($this->db); $this->assertFalse($installer->isInstalled()); $this->dbAdapter->appendStatementToStack(Zend_Test_DbStatement::createSelectStatement(array('omeka_options'))); $this->assertTrue($installer->isInstalled()); $this->profilerHelper->assertDbQuery("SHOW TABLES LIKE 'omeka_options'"); }
public function install() { parent::install(); self::addItem($this->getDb()); }