Example #1
0
 /**
  * Initialize the fixture.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->reset();
 }
 /**
  * Remove admin user as test fail with sql error: duplicate users.
  *
  * @see OxidTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     oxDb::getDb()->execute('DELETE FROM `oxuser` WHERE oxusername = \'admin\'');
 }
Example #3
0
 /**
  * Initialize the fixture.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->resetDatabase();
 }