File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ protected function setUp(): void
9898 $ this ->setGlobalConfig ();
9999 $ this ->loadContainerBuilder ();
100100 $ this ->setGlobalDbi ();
101- $ this ->loadDbiIntoContainerBuilder ();
102101 $ this ->setTheme ();
103102 Cache::purge ();
104103 }
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ class ExportControllerTest extends AbstractTestCase
2727{
2828 public function testExportController (): void
2929 {
30+ parent ::loadDbiIntoContainerBuilder ();
31+
3032 $ GLOBALS ['server ' ] = 1 ;
3133 $ GLOBALS ['text_dir ' ] = 'ltr ' ;
3234 $ GLOBALS ['lang ' ] = 'en ' ;
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ class ExportControllerTest extends AbstractTestCase
2222{
2323 public function testExportController (): void
2424 {
25+ parent ::loadDbiIntoContainerBuilder ();
26+
2527 $ GLOBALS ['db ' ] = 'test_db ' ;
2628 $ GLOBALS ['table ' ] = 'test_table ' ;
2729 $ GLOBALS ['cfg ' ]['Server ' ] = $ GLOBALS ['config ' ]->defaultServer ;
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ protected function setUp(): void
2727 parent ::setUp ();
2828 parent ::setLanguage ();
2929 parent ::setGlobalConfig ();
30+ parent ::loadDbiIntoContainerBuilder ();
31+
3032 $ GLOBALS ['cfg ' ]['Server ' ]['host ' ] = 'localhost ' ;
3133 $ GLOBALS ['cfg ' ]['Server ' ]['user ' ] = 'pma_user ' ;
3234 $ GLOBALS ['server ' ] = 0 ;
Original file line number Diff line number Diff line change 1414 */
1515class PluginsTest extends AbstractTestCase
1616{
17+ protected function setUp (): void
18+ {
19+ parent ::setUp ();
20+ parent ::loadDbiIntoContainerBuilder ();
21+ }
22+
1723 public function testGetExport (): void
1824 {
1925 $ GLOBALS ['server ' ] = 1 ;
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ class TrackerTest extends AbstractTestCase
2323 protected function setUp (): void
2424 {
2525 parent ::setUp ();
26+ parent ::loadDbiIntoContainerBuilder ();
27+
2628 /**
2729 * SET these to avoid undefined index error
2830 */
You can’t perform that action at this time.
0 commit comments