object = new PMA\libraries\Config; $GLOBALS['server'] = 0; $_SESSION['is_git_revision'] = true; $GLOBALS['PMA_Config'] = new PMA\libraries\Config(CONFIG_FILE); $GLOBALS['cfg']['ProxyUrl'] = ''; //for testing file permissions $this->permTestObj = new PMA\libraries\Config("./config.sample.inc.php"); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @return void */ protected function tearDown() { unset($this->object); unset($this->permTestObj); } /** * Test for CheckSystem * * @return void * @group medium */ public function testCheckSystem() { $this->object->checkSystem(); $this->assertNotNull($this->object->get('PMA_VERSION')); $this->assertNotEmpty($this->object->get('PMA_THEME_VERSION')); $this->assertNotEmpty($this->object->get('PMA_THEME_GENERATION')); } /** * Test for GetFontsizeForm * * @return void */ public function testGetFontsizeForm() { $this->assertContains( '
assertContains( '