/**
  * Called before the test class.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     static::get_csv_files();
     static::get_logfilelocation_files();
     static::get_zip_files();
 }
예제 #2
0
 /**
  * Run before every test, set as admin user.
  */
 public function setUp()
 {
     global $DB;
     parent::setUp();
     $this->setAdminUser();
     set_config('identfield_idnumber', '1', 'dhimport_version1elis');
     set_config('identfield_username', '1', 'dhimport_version1elis');
     set_config('identfield_email', '1', 'dhimport_version1elis');
 }
 /**
  * Perform test setup and reset context caches.
  */
 protected function setUp()
 {
     parent::setUp();
     context_helper::reset_caches();
 }
 /**
  * Run before every test, set as admin user.
  */
 public function setUp()
 {
     global $DB;
     parent::setUp();
     $this->setAdminUser();
 }
 /**
  * Run before every test.
  */
 public function setUp()
 {
     parent::setUp();
     $this->setAdminUser();
 }