/** * Setup the browser environment to run the selenium test case * * @return void */ public function setUp() { parent::setUp(); $this->dbQuery("CREATE TABLE `test_table` (" . " `id` int(11) NOT NULL AUTO_INCREMENT," . " `val` int(11) NOT NULL," . " `val2` int(11) NOT NULL," . " PRIMARY KEY (`id`)" . ")"); $this->dbQuery("INSERT INTO test_table (val) VALUES (22)"); $this->dbQuery("INSERT INTO test_table (val) VALUES (33)"); }
/** * Setup the browser environment to run the selenium test case * * @return void */ public function setUp() { parent::setUp(); $this->skipIfNotSuperUser(); $this->_txtUsername = '******'; $this->_txtPassword = '******'; }
/** * Setup the browser environment to run the selenium test case * * @return void */ public function setUp() { parent::setUp(); /* TODO: For now this tests needs superuser for deleting database */ $this->skipIfNotSuperUser(); }
/** * Setup the browser environment to run the selenium test case * * @return void */ public function setUp() { parent::setUp(); $this->dbQuery("CREATE TABLE `test_table` (" . " `id` int(11) NOT NULL AUTO_INCREMENT," . " `name` varchar(20) NOT NULL," . " `datetimefield` datetime NOT NULL," . " PRIMARY KEY (`id`)" . ")"); }
/** * Setup the browser environment to run the selenium test case * * @return void */ public function setUp() { parent::setUp(); $this->dbQuery("CREATE TABLE `test_table` (" . " `id` int(11) NOT NULL AUTO_INCREMENT," . " `name` varchar(20) NOT NULL," . " `datetimefield` datetime NOT NULL," . " PRIMARY KEY (`id`)" . ")"); $this->dbQuery("INSERT INTO `test_table` (`id`, `name`, `datetimefield`) VALUES" . " (1, 'abcd', '2011-01-20 02:00:02')," . " (2, 'foo', '2010-01-20 02:00:02')," . " (3, 'Abcd', '2012-01-20 02:00:02')"); }
/** * Setup the browser environment to run the selenium test case * * @return void */ public function setUp() { parent::setUp(); $this->dbQuery("CREATE TABLE `test_table` (" . " `id` int(11) NOT NULL AUTO_INCREMENT," . " `val` int(11) NOT NULL," . " `val2` varchar(64) NOT NULL," . "PRIMARY KEY(id)" . ")"); }