diff options
author | William Desportes <williamdes@wdes.fr> | 2020-05-20 22:31:13 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2020-05-20 22:31:13 +0300 |
commit | 6eaa55e805737a47adbb0b00dadd01aa6e42325d (patch) | |
tree | 8c7f026ad9d06b78097b31b1e0cafcdae92f3247 /test/classes/Navigation | |
parent | 8ef514390120ce88d8db31547adc8886bc4cedd7 (diff) |
Call parent's setUp and tearDown
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test/classes/Navigation')
22 files changed, 25 insertions, 0 deletions
diff --git a/test/classes/Navigation/NavigationTest.php b/test/classes/Navigation/NavigationTest.php index 8708a54dd0..e1677c582f 100644 --- a/test/classes/Navigation/NavigationTest.php +++ b/test/classes/Navigation/NavigationTest.php @@ -28,6 +28,7 @@ class NavigationTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 1; $GLOBALS['db'] = 'db'; $GLOBALS['table'] = ''; @@ -54,6 +55,7 @@ class NavigationTest extends PmaTestCase */ protected function tearDown(): void { + parent::tearDown(); unset($this->object); } diff --git a/test/classes/Navigation/NavigationTreeTest.php b/test/classes/Navigation/NavigationTreeTest.php index e61a77c124..06c576d1fb 100644 --- a/test/classes/Navigation/NavigationTreeTest.php +++ b/test/classes/Navigation/NavigationTreeTest.php @@ -26,6 +26,7 @@ class NavigationTreeTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 1; $GLOBALS['PMA_Config'] = new Config(); $GLOBALS['PMA_Config']->enableBc(); @@ -52,6 +53,7 @@ class NavigationTreeTest extends PmaTestCase */ protected function tearDown(): void { + parent::tearDown(); unset($this->object); } diff --git a/test/classes/Navigation/NodeFactoryTest.php b/test/classes/Navigation/NodeFactoryTest.php index f68486f7d6..6ba0fef98a 100644 --- a/test/classes/Navigation/NodeFactoryTest.php +++ b/test/classes/Navigation/NodeFactoryTest.php @@ -21,6 +21,7 @@ class NodeFactoryTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeColumnContainerTest.php b/test/classes/Navigation/Nodes/NodeColumnContainerTest.php index c22fabbeca..d637ff3884 100644 --- a/test/classes/Navigation/Nodes/NodeColumnContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeColumnContainerTest.php @@ -19,6 +19,7 @@ class NodeColumnContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeColumnTest.php b/test/classes/Navigation/Nodes/NodeColumnTest.php index ff67bafe0d..66583c0f68 100644 --- a/test/classes/Navigation/Nodes/NodeColumnTest.php +++ b/test/classes/Navigation/Nodes/NodeColumnTest.php @@ -19,6 +19,7 @@ class NodeColumnTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php b/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php index 601db17b80..45afbc091e 100644 --- a/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php +++ b/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php @@ -31,6 +31,7 @@ class NodeDatabaseChildTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['pmaThemePath'] = $GLOBALS['PMA_Theme']->getPath(); $GLOBALS['cfg']['DefaultTabDatabase'] = 'structure'; $GLOBALS['server'] = 1; @@ -51,6 +52,7 @@ class NodeDatabaseChildTest extends PmaTestCase */ protected function tearDown(): void { + parent::tearDown(); unset($this->object); } diff --git a/test/classes/Navigation/Nodes/NodeDatabaseTest.php b/test/classes/Navigation/Nodes/NodeDatabaseTest.php index b682e15eab..4d1654a7b3 100644 --- a/test/classes/Navigation/Nodes/NodeDatabaseTest.php +++ b/test/classes/Navigation/Nodes/NodeDatabaseTest.php @@ -20,6 +20,7 @@ class NodeDatabaseTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; $GLOBALS['cfg']['DefaultTabDatabase'] = 'structure'; $GLOBALS['cfg']['MaxNavigationItems'] = 250; diff --git a/test/classes/Navigation/Nodes/NodeEventContainerTest.php b/test/classes/Navigation/Nodes/NodeEventContainerTest.php index 1417ed1621..9cd88a0a54 100644 --- a/test/classes/Navigation/Nodes/NodeEventContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeEventContainerTest.php @@ -20,6 +20,7 @@ class NodeEventContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeEventTest.php b/test/classes/Navigation/Nodes/NodeEventTest.php index f8f72a81ea..cce387e10d 100644 --- a/test/classes/Navigation/Nodes/NodeEventTest.php +++ b/test/classes/Navigation/Nodes/NodeEventTest.php @@ -19,6 +19,7 @@ class NodeEventTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php b/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php index 77a3f16872..504336daca 100644 --- a/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php @@ -19,6 +19,7 @@ class NodeFunctionContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeFunctionTest.php b/test/classes/Navigation/Nodes/NodeFunctionTest.php index e9cc8bbd7e..fc5a45c72a 100644 --- a/test/classes/Navigation/Nodes/NodeFunctionTest.php +++ b/test/classes/Navigation/Nodes/NodeFunctionTest.php @@ -19,6 +19,7 @@ class NodeFunctionTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeIndexContainerTest.php b/test/classes/Navigation/Nodes/NodeIndexContainerTest.php index 844b7763d5..14b8bcd5b2 100644 --- a/test/classes/Navigation/Nodes/NodeIndexContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeIndexContainerTest.php @@ -19,6 +19,7 @@ class NodeIndexContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeIndexTest.php b/test/classes/Navigation/Nodes/NodeIndexTest.php index ce52d6d838..decfe1ac67 100644 --- a/test/classes/Navigation/Nodes/NodeIndexTest.php +++ b/test/classes/Navigation/Nodes/NodeIndexTest.php @@ -19,6 +19,7 @@ class NodeIndexTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php b/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php index 3c9843097a..792c5daca9 100644 --- a/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php @@ -19,6 +19,7 @@ class NodeProcedureContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeProcedureTest.php b/test/classes/Navigation/Nodes/NodeProcedureTest.php index f2203111a2..0d9c4e62c1 100644 --- a/test/classes/Navigation/Nodes/NodeProcedureTest.php +++ b/test/classes/Navigation/Nodes/NodeProcedureTest.php @@ -19,6 +19,7 @@ class NodeProcedureTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeTableContainerTest.php b/test/classes/Navigation/Nodes/NodeTableContainerTest.php index 6261a12599..2bf5d67c6d 100644 --- a/test/classes/Navigation/Nodes/NodeTableContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeTableContainerTest.php @@ -19,6 +19,7 @@ class NodeTableContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; $GLOBALS['cfg']['NavigationTreeEnableGrouping'] = true; $GLOBALS['cfg']['NavigationTreeDbSeparator'] = '_'; diff --git a/test/classes/Navigation/Nodes/NodeTableTest.php b/test/classes/Navigation/Nodes/NodeTableTest.php index c24ef56aed..8ee67980df 100644 --- a/test/classes/Navigation/Nodes/NodeTableTest.php +++ b/test/classes/Navigation/Nodes/NodeTableTest.php @@ -19,6 +19,7 @@ class NodeTableTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; $GLOBALS['cfg']['NavigationTreeDefaultTabTable'] = 'b_browse'; $GLOBALS['cfg']['NavigationTreeDefaultTabTable2'] = ''; diff --git a/test/classes/Navigation/Nodes/NodeTest.php b/test/classes/Navigation/Nodes/NodeTest.php index 363b4c0c0a..b49362bc09 100644 --- a/test/classes/Navigation/Nodes/NodeTest.php +++ b/test/classes/Navigation/Nodes/NodeTest.php @@ -22,6 +22,7 @@ class NodeTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; $GLOBALS['cfg']['Server']['DisableIS'] = false; } diff --git a/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php b/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php index 9e23a338b8..fd51b50998 100644 --- a/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php @@ -19,6 +19,7 @@ class NodeTriggerContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeTriggerTest.php b/test/classes/Navigation/Nodes/NodeTriggerTest.php index 4acd4ff470..148bd805f9 100644 --- a/test/classes/Navigation/Nodes/NodeTriggerTest.php +++ b/test/classes/Navigation/Nodes/NodeTriggerTest.php @@ -19,6 +19,7 @@ class NodeTriggerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } diff --git a/test/classes/Navigation/Nodes/NodeViewContainerTest.php b/test/classes/Navigation/Nodes/NodeViewContainerTest.php index 4307d36495..4daa8eeb3c 100644 --- a/test/classes/Navigation/Nodes/NodeViewContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeViewContainerTest.php @@ -19,6 +19,7 @@ class NodeViewContainerTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; $GLOBALS['cfg']['NavigationTreeEnableGrouping'] = true; $GLOBALS['cfg']['NavigationTreeDbSeparator'] = '_'; diff --git a/test/classes/Navigation/Nodes/NodeViewTest.php b/test/classes/Navigation/Nodes/NodeViewTest.php index 2b263f0827..be2614ffd9 100644 --- a/test/classes/Navigation/Nodes/NodeViewTest.php +++ b/test/classes/Navigation/Nodes/NodeViewTest.php @@ -20,6 +20,7 @@ class NodeViewTest extends PmaTestCase */ protected function setUp(): void { + parent::setUp(); $GLOBALS['server'] = 0; } |