public function tearDown() { parent::tearDown(); Config::inst()->remove('VirtualPage', 'initially_copied_fields'); Config::inst()->remove('VirtualPage', 'non_virtual_fields'); VirtualPage::config()->initially_copied_fields = $this->origInitiallyCopiedFields; VirtualPage::config()->non_virtual_fields = $this->origNonVirtualField; }