diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-05-31 03:02:26 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-05-31 03:02:26 +0300 |
commit | 2005cca77ff4047f16dc490a9df633b8e3fd8bcf (patch) | |
tree | 63521339f8bfbb329627fd4580c250bb99199526 /test/classes/MenuTest.php | |
parent | 285e38e931635a5d72bc75d38c891ee27a491d1a (diff) |
Fix methods and properties visibility issues
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'test/classes/MenuTest.php')
-rw-r--r-- | test/classes/MenuTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/classes/MenuTest.php b/test/classes/MenuTest.php index 87d7254c30..c70ddecf58 100644 --- a/test/classes/MenuTest.php +++ b/test/classes/MenuTest.php @@ -25,7 +25,7 @@ class MenuTest extends PmaTestCase * * @return void */ - function setup() + protected function setUp() { if (!defined('PMA_IS_WINDOWS')) { define('PMA_IS_WINDOWS', false); @@ -45,7 +45,7 @@ class MenuTest extends PmaTestCase * * @return void */ - function testServer() + public function testServer() { $menu = new Menu('server', '', ''); $this->assertContains( @@ -59,7 +59,7 @@ class MenuTest extends PmaTestCase * * @return void */ - function testDatabase() + public function testDatabase() { $menu = new Menu('server', 'pma_test', ''); $this->assertContains( @@ -73,7 +73,7 @@ class MenuTest extends PmaTestCase * * @return void */ - function testTable() + public function testTable() { $menu = new Menu('server', 'pma_test', 'table1'); $this->assertContains( @@ -87,7 +87,7 @@ class MenuTest extends PmaTestCase * * @return void */ - function testTableDisplay() + public function testTableDisplay() { $menu = new Menu('server', 'pma_test', ''); $this->expectOutputString( @@ -102,7 +102,7 @@ class MenuTest extends PmaTestCase * * @return void */ - function testSetTable() + public function testSetTable() { $menu = new Menu('server', 'pma_test', ''); $menu->setTable('table1'); |