protected function tearDown() { $this->databasehelper = null; $this->course = null; $this->users = null; $this->resource = null; parent::tearDown(); }
/** * Tear down required for all notification tests. * * This includes emptying the list of notifications on the session, resetting any session which exists, and setting * up a new moodle_page object. */ public function tearDown() { global $PAGE, $SESSION; $PAGE = null; \core\session\manager::init_empty_session(); $SESSION->notifications = []; parent::tearDown(); }
protected function tearDown() { $this->teamwork = null; $this->course = null; $this->cm = null; $this->context = null; parent::tearDown(); }
protected function tearDown() { $this->db = null; $this->previouscourseattributes = null; $this->previouscourses = null; $this->currentyear = null; $this->currentcourseattributes = null; $this->currentcourse = null; parent::tearDown(); }
/** * Cleans things up after this test case has run. */ protected function tearDown() { global $SESSION; parent::tearDown(); if ($this->initiallang !== null) { $SESSION->lang = $this->initiallang; $this->initiallang = null; } else { unset($SESSION->lang); } }
public function tearDown() { $this->revert_to_real_course(); parent::tearDown(); }
protected function tearDown() { parent::tearDown(); null; }
/** * Delete temporary entries from the database * @return void */ protected function tearDown() { events_uninstall('unittest'); parent::tearDown(); }
/** * Set timezone back to default. */ protected function tearDown() { date_default_timezone_set($this->systemdefaulttimezone); parent::tearDown(); }
protected function tearDown() { $this->testpage = null; $this->blockmanager = null; parent::tearDown(); }
protected function tearDown() { ini_set('error_log', $this->oldlog); parent::tearDown(); }
public function tearDown() { $this->recommendator = null; parent::tearDown(); }
/** * remove_category_plugin_values * Teardown function for this test suite's test cases. * This gets run for each test* function in this class */ protected function tearDown() { // Todo teardown our tables and data. $this->revert_to_real_course(); parent::tearDown(); }
protected function tearDown() { $this->recommendator = null; parent::tearDown(); }
protected function tearDown() { $this->matrix; parent::tearDown(); }
protected function tearDown() { $this->workshopplus = null; parent::tearDown(); }
protected function tearDown() { $this->teamwork = null; $this->evaluator = null; parent::tearDown(); }
protected function tearDown() { global $CFG; $CFG->stringfilters = $this->origcfgstringfilters; $CFG->filterall = $this->origcfgfilterall; parent::tearDown(); }
protected function tearDown() { $this->updater = null; parent::tearDown(); }
protected function tearDown() { $this->allocator = null; $this->workshop = null; parent::tearDown(); }
protected function tearDown() { $this->teamwork = null; $this->strategy = null; parent::tearDown(); }
protected function tearDown() { $this->block = null; $this->db = null; parent::tearDown(); }