Skip to content

Commit 1ec3868

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2 parents 0926ddf + 1a81122 commit 1ec3868

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

test/bootstrap-static.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
// phpcs:enable
1616
}
1717

18+
if (! defined('TEST_PATH')) {
19+
// phpcs:disable PSR1.Files.SideEffects
20+
define('TEST_PATH', dirname(__DIR__) . DIRECTORY_SEPARATOR);
21+
// phpcs:enable
22+
}
23+
1824
// phpcs:disable PSR1.Files.SideEffects
1925
if (! defined('PHPMYADMIN')) {
2026
define('PHPMYADMIN', true);

test/classes/ConfigTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
use const INFO_MODULES;
3636
use const PHP_EOL;
3737
use const PHP_OS;
38+
use const TEST_PATH;
3839

3940
/**
4041
* @covers \PhpMyAdmin\Config

test/classes/FileListingTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use function extension_loaded;
1111
use function is_bool;
1212

13+
use const TEST_PATH;
14+
1315
/**
1416
* @covers \PhpMyAdmin\FileListing
1517
*/

test/classes/ThemeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use function filemtime;
1111

1212
use const DIRECTORY_SEPARATOR;
13+
use const TEST_PATH;
1314

1415
/**
1516
* @covers \PhpMyAdmin\Theme

0 commit comments

Comments
 (0)