diff --git a/test/classes/AdvisorTest.php b/test/classes/AdvisorTest.php index cd79962e3c..4b7bee211a 100644 --- a/test/classes/AdvisorTest.php +++ b/test/classes/AdvisorTest.php @@ -13,7 +13,7 @@ use Symfony\Component\ExpressionLanguage\ExpressionLanguage; /** * Tests behaviour of PMA_Advisor class */ -class AdvisorTest extends PmaTestCase +class AdvisorTest extends AbstractTestCase { /** * Sets up the fixture, for example, opens a network connection. diff --git a/test/classes/Config/ConfigFileTest.php b/test/classes/Config/ConfigFileTest.php index 580a296678..c59abc148a 100644 --- a/test/classes/Config/ConfigFileTest.php +++ b/test/classes/Config/ConfigFileTest.php @@ -7,7 +7,7 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Config; use PhpMyAdmin\Config\ConfigFile; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use stdClass; use function array_keys; use function count; @@ -15,7 +15,7 @@ use function count; /** * Tests for Config File Management */ -class ConfigFileTest extends PmaTestCase +class ConfigFileTest extends AbstractTestCase { /** * Any valid key that exists in config.default.php and isn't empty diff --git a/test/classes/Config/DescriptionTest.php b/test/classes/Config/DescriptionTest.php index 6e9e9327bc..94acd85d55 100644 --- a/test/classes/Config/DescriptionTest.php +++ b/test/classes/Config/DescriptionTest.php @@ -8,13 +8,13 @@ namespace PhpMyAdmin\Tests\Config; use PhpMyAdmin\Config; use PhpMyAdmin\Config\Descriptions; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use function in_array; /** * Tests for PMA_FormDisplay class */ -class DescriptionTest extends PmaTestCase +class DescriptionTest extends AbstractTestCase { /** * Setup tests diff --git a/test/classes/Config/FormDisplayTest.php b/test/classes/Config/FormDisplayTest.php index 60135c76e6..8b8e10ddab 100644 --- a/test/classes/Config/FormDisplayTest.php +++ b/test/classes/Config/FormDisplayTest.php @@ -9,7 +9,7 @@ namespace PhpMyAdmin\Tests\Config; use PhpMyAdmin\Config; use PhpMyAdmin\Config\ConfigFile; use PhpMyAdmin\Config\FormDisplay; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Config\Form; use ReflectionClass; use ReflectionMethod; @@ -20,7 +20,7 @@ use function gettype; /** * Tests for PMA_FormDisplay class */ -class FormDisplayTest extends PmaTestCase +class FormDisplayTest extends AbstractTestCase { /** @var FormDisplay */ protected $object; diff --git a/test/classes/Config/FormTest.php b/test/classes/Config/FormTest.php index 7085991eac..7d656aa400 100644 --- a/test/classes/Config/FormTest.php +++ b/test/classes/Config/FormTest.php @@ -9,7 +9,7 @@ namespace PhpMyAdmin\Tests\Config; use PhpMyAdmin\Config; use PhpMyAdmin\Config\ConfigFile; use PhpMyAdmin\Config\Form; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionClass; use ReflectionProperty; use function array_keys; @@ -18,7 +18,7 @@ use function preg_match; /** * Tests for PMA_Form class */ -class FormTest extends PmaTestCase +class FormTest extends AbstractTestCase { /** @var Form */ protected $object; diff --git a/test/classes/Config/Forms/FormListTest.php b/test/classes/Config/Forms/FormListTest.php index c0e3d2e7ab..c9a79c1965 100644 --- a/test/classes/Config/Forms/FormListTest.php +++ b/test/classes/Config/Forms/FormListTest.php @@ -8,12 +8,12 @@ namespace PhpMyAdmin\Tests\Config\Forms; use PhpMyAdmin\Config; use PhpMyAdmin\Config\ConfigFile; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PMA_FormDisplay class */ -class FormListTest extends PmaTestCase +class FormListTest extends AbstractTestCase { protected function setUp(): void { diff --git a/test/classes/Config/PageSettingsTest.php b/test/classes/Config/PageSettingsTest.php index 03f360db90..171352bd5a 100644 --- a/test/classes/Config/PageSettingsTest.php +++ b/test/classes/Config/PageSettingsTest.php @@ -8,12 +8,12 @@ namespace PhpMyAdmin\Tests\Config; use PhpMyAdmin\Config; use PhpMyAdmin\Config\PageSettings; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Config\PageSettings */ -class PageSettingsTest extends PmaTestCase +class PageSettingsTest extends AbstractTestCase { /** * Setup tests diff --git a/test/classes/Config/ServerConfigChecksTest.php b/test/classes/Config/ServerConfigChecksTest.php index 81a91c1248..8ad00e19b4 100644 --- a/test/classes/Config/ServerConfigChecksTest.php +++ b/test/classes/Config/ServerConfigChecksTest.php @@ -9,7 +9,7 @@ namespace PhpMyAdmin\Tests\Config; use PhpMyAdmin\Config; use PhpMyAdmin\Config\ConfigFile; use PhpMyAdmin\Config\ServerConfigChecks; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionException; use ReflectionProperty; use function array_keys; @@ -17,7 +17,7 @@ use function array_keys; /** * Tests for ServeConfigChecks class */ -class ServerConfigChecksTest extends PmaTestCase +class ServerConfigChecksTest extends AbstractTestCase { /** @var string */ private $sessionID; diff --git a/test/classes/ConfigTest.php b/test/classes/ConfigTest.php index 6fb3125ba6..075fb3b50d 100644 --- a/test/classes/ConfigTest.php +++ b/test/classes/ConfigTest.php @@ -36,7 +36,7 @@ use function sys_get_temp_dir; /** * Tests behaviour of PhpMyAdmin\Config class */ -class ConfigTest extends PmaTestCase +class ConfigTest extends AbstractTestCase { /** * Turn off backup globals diff --git a/test/classes/Controllers/Database/PrivilegesControllerTest.php b/test/classes/Controllers/Database/PrivilegesControllerTest.php index df0e89bf75..c741fb24d9 100644 --- a/test/classes/Controllers/Database/PrivilegesControllerTest.php +++ b/test/classes/Controllers/Database/PrivilegesControllerTest.php @@ -7,10 +7,10 @@ use PhpMyAdmin\Controllers\Database\PrivilegesController; use PhpMyAdmin\Response; use PhpMyAdmin\Server\Privileges; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Url; -class PrivilegesControllerTest extends PmaTestCase +class PrivilegesControllerTest extends AbstractTestCase { /** * Configures global environment. diff --git a/test/classes/Controllers/Database/StructureControllerTest.php b/test/classes/Controllers/Database/StructureControllerTest.php index aab59262c7..2ddc56f307 100644 --- a/test/classes/Controllers/Database/StructureControllerTest.php +++ b/test/classes/Controllers/Database/StructureControllerTest.php @@ -17,7 +17,7 @@ use PhpMyAdmin\RelationCleanup; use PhpMyAdmin\Replication; use PhpMyAdmin\Table; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Tests\Stubs\Response as ResponseStub; use PhpMyAdmin\Transformations; use PHPUnit\Framework\MockObject\MockObject; @@ -32,7 +32,7 @@ use function json_encode; * * this class is for testing StructureController class */ -class StructureControllerTest extends PmaTestCase +class StructureControllerTest extends AbstractTestCase { /** @var ResponseStub */ private $response; diff --git a/test/classes/Controllers/Table/IndexesControllerTest.php b/test/classes/Controllers/Table/IndexesControllerTest.php index 56e0df1aad..6e7e6495f0 100644 --- a/test/classes/Controllers/Table/IndexesControllerTest.php +++ b/test/classes/Controllers/Table/IndexesControllerTest.php @@ -15,7 +15,7 @@ use PhpMyAdmin\Message; use PhpMyAdmin\Response; use PhpMyAdmin\Table; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Tests\Stubs\Response as ResponseStub; use PhpMyAdmin\Url; use function sprintf; @@ -23,7 +23,7 @@ use function sprintf; /** * Tests for PhpMyAdmin\Controllers\Table\IndexesController */ -class IndexesControllerTest extends PmaTestCase +class IndexesControllerTest extends AbstractTestCase { /** * Setup function for test cases diff --git a/test/classes/Controllers/Table/PrivilegesControllerTest.php b/test/classes/Controllers/Table/PrivilegesControllerTest.php index 0945745c7a..2fce0788d8 100644 --- a/test/classes/Controllers/Table/PrivilegesControllerTest.php +++ b/test/classes/Controllers/Table/PrivilegesControllerTest.php @@ -7,10 +7,10 @@ use PhpMyAdmin\Controllers\Table\PrivilegesController; use PhpMyAdmin\Response; use PhpMyAdmin\Server\Privileges; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Url; -class PrivilegesControllerTest extends PmaTestCase +class PrivilegesControllerTest extends AbstractTestCase { /** * Configures global environment. diff --git a/test/classes/Controllers/Table/RelationControllerTest.php b/test/classes/Controllers/Table/RelationControllerTest.php index abca6f0cac..ec7203ee13 100644 --- a/test/classes/Controllers/Table/RelationControllerTest.php +++ b/test/classes/Controllers/Table/RelationControllerTest.php @@ -11,14 +11,14 @@ use PhpMyAdmin\Controllers\Table\RelationController; use PhpMyAdmin\Relation; use PhpMyAdmin\Table; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Tests\Stubs\Response as ResponseStub; use stdClass; /** * Tests for PhpMyAdmin\Controllers\Table\RelationController */ -class RelationControllerTest extends PmaTestCase +class RelationControllerTest extends AbstractTestCase { /** @var ResponseStub */ private $_response; diff --git a/test/classes/Controllers/Table/SearchControllerTest.php b/test/classes/Controllers/Table/SearchControllerTest.php index d17616ce71..cc4cdc24fc 100644 --- a/test/classes/Controllers/Table/SearchControllerTest.php +++ b/test/classes/Controllers/Table/SearchControllerTest.php @@ -11,7 +11,7 @@ use PhpMyAdmin\Controllers\Table\SearchController; use PhpMyAdmin\Relation; use PhpMyAdmin\Table\Search; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Tests\Stubs\Response as ResponseStub; use PhpMyAdmin\Types; use stdClass; @@ -19,7 +19,7 @@ use stdClass; /** * Tests for PMA_TableSearch */ -class SearchControllerTest extends PmaTestCase +class SearchControllerTest extends AbstractTestCase { /** @var ResponseStub */ private $_response; diff --git a/test/classes/Controllers/Table/StructureControllerTest.php b/test/classes/Controllers/Table/StructureControllerTest.php index 2df46f1490..9349b6aaaa 100644 --- a/test/classes/Controllers/Table/StructureControllerTest.php +++ b/test/classes/Controllers/Table/StructureControllerTest.php @@ -15,7 +15,7 @@ use PhpMyAdmin\Relation; use PhpMyAdmin\RelationCleanup; use PhpMyAdmin\Table; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Tests\Stubs\Response as ResponseStub; use PhpMyAdmin\Transformations; use ReflectionClass; @@ -25,7 +25,7 @@ use ReflectionClass; * * this class is for testing StructureController class */ -class StructureControllerTest extends PmaTestCase +class StructureControllerTest extends AbstractTestCase { /** @var ResponseStub */ private $_response; diff --git a/test/classes/Database/QbeTest.php b/test/classes/Database/QbeTest.php index 8a737b7e94..06c49fdb9d 100644 --- a/test/classes/Database/QbeTest.php +++ b/test/classes/Database/QbeTest.php @@ -10,12 +10,12 @@ use PhpMyAdmin\Database\Qbe; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Relation; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Database\Qbe class */ -class QbeTest extends PmaTestCase +class QbeTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Database/SearchTest.php b/test/classes/Database/SearchTest.php index 10fe049189..dc433fbf51 100644 --- a/test/classes/Database/SearchTest.php +++ b/test/classes/Database/SearchTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Database; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Database\Search; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for database search. */ -class SearchTest extends PmaTestCase +class SearchTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/DatabaseInterfaceTest.php b/test/classes/DatabaseInterfaceTest.php index 1442cec986..6c50354fbf 100644 --- a/test/classes/DatabaseInterfaceTest.php +++ b/test/classes/DatabaseInterfaceTest.php @@ -16,7 +16,7 @@ use stdClass; /** * Tests basic functionality of dummy dbi driver */ -class DatabaseInterfaceTest extends PmaTestCase +class DatabaseInterfaceTest extends AbstractTestCase { /** @var DatabaseInterface */ private $_dbi; diff --git a/test/classes/Display/ResultsTest.php b/test/classes/Display/ResultsTest.php index 810893fa4a..c6a51f3c00 100644 --- a/test/classes/Display/ResultsTest.php +++ b/test/classes/Display/ResultsTest.php @@ -12,7 +12,7 @@ use PhpMyAdmin\Display\Results as DisplayResults; use PhpMyAdmin\Plugins\Transformations\Text_Plain_Link; use PhpMyAdmin\SqlParser\Parser; use PhpMyAdmin\SqlParser\Utils\Query; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Transformations; use stdClass; use function count; @@ -21,7 +21,7 @@ use function hex2bin; /** * Test cases for displaying results. */ -class ResultsTest extends PmaTestCase +class ResultsTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/BdbTest.php b/test/classes/Engines/BdbTest.php index 98752bfec8..f12e837f12 100644 --- a/test/classes/Engines/BdbTest.php +++ b/test/classes/Engines/BdbTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Engines\Bdb; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Engines\Bdb */ -class BdbTest extends PmaTestCase +class BdbTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/BinlogTest.php b/test/classes/Engines/BinlogTest.php index 60ad8357ae..3fb531bf2e 100644 --- a/test/classes/Engines/BinlogTest.php +++ b/test/classes/Engines/BinlogTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Engines\Binlog; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Engines\Binlog */ -class BinlogTest extends PmaTestCase +class BinlogTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/InnodbTest.php b/test/classes/Engines/InnodbTest.php index 0cc9bc8517..01f67a9a4a 100644 --- a/test/classes/Engines/InnodbTest.php +++ b/test/classes/Engines/InnodbTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Engines\Innodb; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Engines\Innodb */ -class InnodbTest extends PmaTestCase +class InnodbTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/MemoryTest.php b/test/classes/Engines/MemoryTest.php index e4410bfef3..95f98dc95a 100644 --- a/test/classes/Engines/MemoryTest.php +++ b/test/classes/Engines/MemoryTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Engines\Memory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Engines\Memory */ -class MemoryTest extends PmaTestCase +class MemoryTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/MrgMyisamTest.php b/test/classes/Engines/MrgMyisamTest.php index 52c9252f34..7bc6e2f383 100644 --- a/test/classes/Engines/MrgMyisamTest.php +++ b/test/classes/Engines/MrgMyisamTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Engines\MrgMyisam; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Engines\MrgMyisam */ -class MrgMyisamTest extends PmaTestCase +class MrgMyisamTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/MyisamTest.php b/test/classes/Engines/MyisamTest.php index 6684b6a3c9..6918db80a8 100644 --- a/test/classes/Engines/MyisamTest.php +++ b/test/classes/Engines/MyisamTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Engines\Myisam; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Engines\Myisam */ -class MyisamTest extends PmaTestCase +class MyisamTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/NdbclusterTest.php b/test/classes/Engines/NdbclusterTest.php index c352237acd..f5c39681b0 100644 --- a/test/classes/Engines/NdbclusterTest.php +++ b/test/classes/Engines/NdbclusterTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Engines\Ndbcluster; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Engines\Ndbcluster */ -class NdbclusterTest extends PmaTestCase +class NdbclusterTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Engines/PbxtTest.php b/test/classes/Engines/PbxtTest.php index 3ee36cb3bd..4f7d954ab9 100644 --- a/test/classes/Engines/PbxtTest.php +++ b/test/classes/Engines/PbxtTest.php @@ -8,13 +8,13 @@ namespace PhpMyAdmin\Tests\Engines; use PhpMyAdmin\Core; use PhpMyAdmin\Engines\Pbxt; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use function sprintf; /** * Tests for PhpMyAdmin\Engines\Pbxt; */ -class PbxtTest extends PmaTestCase +class PbxtTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/ErrorHandlerTest.php b/test/classes/ErrorHandlerTest.php index d6ad021383..dc43047b22 100644 --- a/test/classes/ErrorHandlerTest.php +++ b/test/classes/ErrorHandlerTest.php @@ -15,7 +15,7 @@ use const E_WARNING; /** * Test for PhpMyAdmin\ErrorHandler class. */ -class ErrorHandlerTest extends PmaTestCase +class ErrorHandlerTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/ErrorTest.php b/test/classes/ErrorTest.php index 2b28f0bf85..d6ebbc3a71 100644 --- a/test/classes/ErrorTest.php +++ b/test/classes/ErrorTest.php @@ -13,7 +13,7 @@ use function preg_match; /** * Error class testing. */ -class ErrorTest extends PmaTestCase +class ErrorTest extends AbstractTestCase { /** * @var Error diff --git a/test/classes/FileTest.php b/test/classes/FileTest.php index 5e59aafbd1..adb318e269 100644 --- a/test/classes/FileTest.php +++ b/test/classes/FileTest.php @@ -13,7 +13,7 @@ use function file_get_contents; /** * tests for PhpMyAdmin\File class */ -class FileTest extends PmaTestCase +class FileTest extends AbstractTestCase { /** * Setup function for test cases diff --git a/test/classes/FontTest.php b/test/classes/FontTest.php index be22fd5461..8b808ab4ab 100644 --- a/test/classes/FontTest.php +++ b/test/classes/FontTest.php @@ -11,7 +11,7 @@ use PhpMyAdmin\Font; /** * Tests for PhpMyAdmin\Font class */ -class FontTest extends PmaTestCase +class FontTest extends AbstractTestCase { /** @var Font */ private $font; diff --git a/test/classes/FooterTest.php b/test/classes/FooterTest.php index 3eb96a197d..a9aaf7c315 100644 --- a/test/classes/FooterTest.php +++ b/test/classes/FooterTest.php @@ -13,7 +13,7 @@ use function json_encode; /** * Tests for Footer class */ -class FooterTest extends PmaTestCase +class FooterTest extends AbstractTestCase { /** @var array store private attributes of PhpMyAdmin\Footer */ public $privates = []; diff --git a/test/classes/GitTest.php b/test/classes/GitTest.php index e806c54f26..75ad10d07f 100644 --- a/test/classes/GitTest.php +++ b/test/classes/GitTest.php @@ -23,7 +23,7 @@ use function rmdir; * Tests behaviour of PhpMyAdmin\Git class * @group git-revision */ -class GitTest extends PmaTestCase +class GitTest extends AbstractTestCase { /** @var Git */ protected $object; diff --git a/test/classes/HeaderTest.php b/test/classes/HeaderTest.php index 700a1abbe2..1acb908360 100644 --- a/test/classes/HeaderTest.php +++ b/test/classes/HeaderTest.php @@ -18,7 +18,7 @@ use function defined; * * @group medium */ -class HeaderTest extends PmaTestCase +class HeaderTest extends AbstractTestCase { /** * Configures global environment. diff --git a/test/classes/Html/GeneratorTest.php b/test/classes/Html/GeneratorTest.php index 34f2c3d5e9..00ccad5a46 100644 --- a/test/classes/Html/GeneratorTest.php +++ b/test/classes/Html/GeneratorTest.php @@ -7,7 +7,7 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Html; use PhpMyAdmin\Html\Generator; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Util; use function call_user_func_array; use function htmlspecialchars; @@ -16,7 +16,7 @@ use function urlencode; /** * Test for \PhpMyAdmin\Html\MySQLDocumentation class */ -class GeneratorTest extends PmaTestCase +class GeneratorTest extends AbstractTestCase { /** * Set up the test. diff --git a/test/classes/Html/MySQLDocumentationTest.php b/test/classes/Html/MySQLDocumentationTest.php index 4d1374e2f6..9bb25fd258 100644 --- a/test/classes/Html/MySQLDocumentationTest.php +++ b/test/classes/Html/MySQLDocumentationTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Html; use PhpMyAdmin\Html\MySQLDocumentation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Test for \PhpMyAdmin\Html\MySQLDocumentation class */ -class MySQLDocumentationTest extends PmaTestCase +class MySQLDocumentationTest extends AbstractTestCase { /** * Test for \PhpMyAdmin\Html\MySQLDocumentation::showDocumentation diff --git a/test/classes/IndexTest.php b/test/classes/IndexTest.php index 65038ed5d4..f8ebadbeb1 100644 --- a/test/classes/IndexTest.php +++ b/test/classes/IndexTest.php @@ -11,7 +11,7 @@ use PhpMyAdmin\Index; /** * Test for Index class */ -class IndexTest extends PmaTestCase +class IndexTest extends AbstractTestCase { private $_params = []; diff --git a/test/classes/LanguageTest.php b/test/classes/LanguageTest.php index 5efb1e3dba..cbce115aea 100644 --- a/test/classes/LanguageTest.php +++ b/test/classes/LanguageTest.php @@ -14,7 +14,7 @@ use function strtolower; /** * Tests behaviour of PMA_Advisor class */ -class LanguageTest extends PmaTestCase +class LanguageTest extends AbstractTestCase { /** @var LanguageManager */ private $manager; diff --git a/test/classes/LinterTest.php b/test/classes/LinterTest.php index 30f2517ca8..8ebe1fa125 100644 --- a/test/classes/LinterTest.php +++ b/test/classes/LinterTest.php @@ -12,7 +12,7 @@ use function str_repeat; /** * Tests for PhpMyAdmin\Linter */ -class LinterTest extends PmaTestCase +class LinterTest extends AbstractTestCase { /** * Sets up the fixture, for example, opens a network connection. diff --git a/test/classes/ListDatabaseTest.php b/test/classes/ListDatabaseTest.php index 3eba0844b9..bdc6a64f01 100644 --- a/test/classes/ListDatabaseTest.php +++ b/test/classes/ListDatabaseTest.php @@ -11,7 +11,7 @@ use PhpMyAdmin\ListDatabase; /** * tests for ListDatabase class */ -class ListDatabaseTest extends PmaTestCase +class ListDatabaseTest extends AbstractTestCase { /** * ListDatabase instance diff --git a/test/classes/MenuTest.php b/test/classes/MenuTest.php index b3369f0ca6..eb8ca37f4d 100644 --- a/test/classes/MenuTest.php +++ b/test/classes/MenuTest.php @@ -14,7 +14,7 @@ use function defined; /** * Test for Menu class */ -class MenuTest extends PmaTestCase +class MenuTest extends AbstractTestCase { /** * Configures global environment. diff --git a/test/classes/MessageTest.php b/test/classes/MessageTest.php index a48b26901a..11349a2c93 100644 --- a/test/classes/MessageTest.php +++ b/test/classes/MessageTest.php @@ -12,7 +12,7 @@ use function md5; /** * Test for Message class */ -class MessageTest extends PmaTestCase +class MessageTest extends AbstractTestCase { /** * @var Message diff --git a/test/classes/Navigation/NavigationTest.php b/test/classes/Navigation/NavigationTest.php index 2a8461c612..07cff32507 100644 --- a/test/classes/Navigation/NavigationTest.php +++ b/test/classes/Navigation/NavigationTest.php @@ -10,13 +10,13 @@ use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Navigation\Navigation; use PhpMyAdmin\Relation; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Url; /** * Tests for PhpMyAdmin\Navigation\Navigation class */ -class NavigationTest extends PmaTestCase +class NavigationTest extends AbstractTestCase { /** @var Navigation */ protected $object; diff --git a/test/classes/Navigation/NavigationTreeTest.php b/test/classes/Navigation/NavigationTreeTest.php index bbbba5aea3..569fabb6c7 100644 --- a/test/classes/Navigation/NavigationTreeTest.php +++ b/test/classes/Navigation/NavigationTreeTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Navigation; use PhpMyAdmin\Config; use PhpMyAdmin\Navigation\NavigationTree; use PhpMyAdmin\Template; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\NavigationTree class */ -class NavigationTreeTest extends PmaTestCase +class NavigationTreeTest extends AbstractTestCase { /** @var NavigationTree */ protected $object; diff --git a/test/classes/Navigation/NodeFactoryTest.php b/test/classes/Navigation/NodeFactoryTest.php index 6ba0fef98a..8bf46e94b9 100644 --- a/test/classes/Navigation/NodeFactoryTest.php +++ b/test/classes/Navigation/NodeFactoryTest.php @@ -8,13 +8,13 @@ namespace PhpMyAdmin\Tests\Navigation; use PhpMyAdmin\Navigation\NodeFactory; use PhpMyAdmin\Navigation\Nodes\Node; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PHPUnit\Framework\Exception; /** * Tests for NodeFactory class */ -class NodeFactoryTest extends PmaTestCase +class NodeFactoryTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeColumnContainerTest.php b/test/classes/Navigation/Nodes/NodeColumnContainerTest.php index ff3431f025..d5e4b21c70 100644 --- a/test/classes/Navigation/Nodes/NodeColumnContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeColumnContainerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeColumnContainer class */ -class NodeColumnContainerTest extends PmaTestCase +class NodeColumnContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeColumnTest.php b/test/classes/Navigation/Nodes/NodeColumnTest.php index 78bc0afd57..ce51e6672f 100644 --- a/test/classes/Navigation/Nodes/NodeColumnTest.php +++ b/test/classes/Navigation/Nodes/NodeColumnTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeColumn class */ -class NodeColumnTest extends PmaTestCase +class NodeColumnTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php b/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php index f3fd550ebc..2954022354 100644 --- a/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php +++ b/test/classes/Navigation/Nodes/NodeDatabaseChildTest.php @@ -8,14 +8,14 @@ namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; use PhpMyAdmin\Navigation\Nodes\NodeDatabaseChild; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Url; use PHPUnit\Framework\MockObject\MockObject; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeDatabaseChild class */ -class NodeDatabaseChildTest extends PmaTestCase +class NodeDatabaseChildTest extends AbstractTestCase { /** * Mock of NodeDatabaseChild diff --git a/test/classes/Navigation/Nodes/NodeDatabaseTest.php b/test/classes/Navigation/Nodes/NodeDatabaseTest.php index 81844607c9..8d852a16dd 100644 --- a/test/classes/Navigation/Nodes/NodeDatabaseTest.php +++ b/test/classes/Navigation/Nodes/NodeDatabaseTest.php @@ -8,12 +8,12 @@ namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; use PhpMyAdmin\Navigation\Nodes\NodeDatabase; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeDatabase class */ -class NodeDatabaseTest extends PmaTestCase +class NodeDatabaseTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeEventContainerTest.php b/test/classes/Navigation/Nodes/NodeEventContainerTest.php index 49f85febed..1f25bbee0e 100644 --- a/test/classes/Navigation/Nodes/NodeEventContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeEventContainerTest.php @@ -7,13 +7,13 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Url; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeEventContainer class */ -class NodeEventContainerTest extends PmaTestCase +class NodeEventContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeEventTest.php b/test/classes/Navigation/Nodes/NodeEventTest.php index 128ad4ef08..bc034ef23d 100644 --- a/test/classes/Navigation/Nodes/NodeEventTest.php +++ b/test/classes/Navigation/Nodes/NodeEventTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeEvent class */ -class NodeEventTest extends PmaTestCase +class NodeEventTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php b/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php index 2488749573..bd24c59551 100644 --- a/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeFunctionContainerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeFunctionContainer class */ -class NodeFunctionContainerTest extends PmaTestCase +class NodeFunctionContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeFunctionTest.php b/test/classes/Navigation/Nodes/NodeFunctionTest.php index d0bda4843d..82aeef7fee 100644 --- a/test/classes/Navigation/Nodes/NodeFunctionTest.php +++ b/test/classes/Navigation/Nodes/NodeFunctionTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeFunction class */ -class NodeFunctionTest extends PmaTestCase +class NodeFunctionTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeIndexContainerTest.php b/test/classes/Navigation/Nodes/NodeIndexContainerTest.php index 0c7ed7c6ac..89815165f4 100644 --- a/test/classes/Navigation/Nodes/NodeIndexContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeIndexContainerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeIndexContainer class */ -class NodeIndexContainerTest extends PmaTestCase +class NodeIndexContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeIndexTest.php b/test/classes/Navigation/Nodes/NodeIndexTest.php index c35dbd362d..5deb7a5ada 100644 --- a/test/classes/Navigation/Nodes/NodeIndexTest.php +++ b/test/classes/Navigation/Nodes/NodeIndexTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeIndex class */ -class NodeIndexTest extends PmaTestCase +class NodeIndexTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php b/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php index 888762c382..ec6ba79f93 100644 --- a/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeProcedureContainerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeProcedureContainer class */ -class NodeProcedureContainerTest extends PmaTestCase +class NodeProcedureContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeProcedureTest.php b/test/classes/Navigation/Nodes/NodeProcedureTest.php index 5c821b9df7..9f2412c39a 100644 --- a/test/classes/Navigation/Nodes/NodeProcedureTest.php +++ b/test/classes/Navigation/Nodes/NodeProcedureTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeProcedure class */ -class NodeProcedureTest extends PmaTestCase +class NodeProcedureTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeTableContainerTest.php b/test/classes/Navigation/Nodes/NodeTableContainerTest.php index 26308e57d7..fec1ffbb0b 100644 --- a/test/classes/Navigation/Nodes/NodeTableContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeTableContainerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeTableContainer class */ -class NodeTableContainerTest extends PmaTestCase +class NodeTableContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeTableTest.php b/test/classes/Navigation/Nodes/NodeTableTest.php index 72f18af21f..cec97f8aba 100644 --- a/test/classes/Navigation/Nodes/NodeTableTest.php +++ b/test/classes/Navigation/Nodes/NodeTableTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeTable class */ -class NodeTableTest extends PmaTestCase +class NodeTableTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeTest.php b/test/classes/Navigation/Nodes/NodeTest.php index acc5c8f060..11e6589f02 100644 --- a/test/classes/Navigation/Nodes/NodeTest.php +++ b/test/classes/Navigation/Nodes/NodeTest.php @@ -9,13 +9,13 @@ namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Navigation\NodeFactory; use PhpMyAdmin\Navigation\Nodes\Node; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; /** * Tests for Node class */ -class NodeTest extends PmaTestCase +class NodeTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php b/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php index e147afbc1c..447557e483 100644 --- a/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeTriggerContainerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeTrigger class */ -class NodeTriggerContainerTest extends PmaTestCase +class NodeTriggerContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeTriggerTest.php b/test/classes/Navigation/Nodes/NodeTriggerTest.php index 8674a7b08e..e4fe44abbe 100644 --- a/test/classes/Navigation/Nodes/NodeTriggerTest.php +++ b/test/classes/Navigation/Nodes/NodeTriggerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeTrigger class */ -class NodeTriggerTest extends PmaTestCase +class NodeTriggerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeViewContainerTest.php b/test/classes/Navigation/Nodes/NodeViewContainerTest.php index ad6f1f4186..8799720e7e 100644 --- a/test/classes/Navigation/Nodes/NodeViewContainerTest.php +++ b/test/classes/Navigation/Nodes/NodeViewContainerTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeViewContainer class */ -class NodeViewContainerTest extends PmaTestCase +class NodeViewContainerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Navigation/Nodes/NodeViewTest.php b/test/classes/Navigation/Nodes/NodeViewTest.php index 58e7ff4d54..e248b8c3d3 100644 --- a/test/classes/Navigation/Nodes/NodeViewTest.php +++ b/test/classes/Navigation/Nodes/NodeViewTest.php @@ -7,13 +7,13 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Navigation\Nodes; use PhpMyAdmin\Navigation\NodeFactory; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use function is_string; /** * Tests for PhpMyAdmin\Navigation\Nodes\NodeView class */ -class NodeViewTest extends PmaTestCase +class NodeViewTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/PdfTest.php b/test/classes/PdfTest.php index 6ca35e130d..6ccd74b1d4 100644 --- a/test/classes/PdfTest.php +++ b/test/classes/PdfTest.php @@ -12,7 +12,7 @@ use PhpMyAdmin\Pdf; /** * tests for Pdf class */ -class PdfTest extends PmaTestCase +class PdfTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/Plugins/Auth/AuthenticationConfigTest.php b/test/classes/Plugins/Auth/AuthenticationConfigTest.php index 0e04005ee7..23c67b0f76 100644 --- a/test/classes/Plugins/Auth/AuthenticationConfigTest.php +++ b/test/classes/Plugins/Auth/AuthenticationConfigTest.php @@ -10,14 +10,14 @@ use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Config; use PhpMyAdmin\ErrorHandler; use PhpMyAdmin\Plugins\Auth\AuthenticationConfig; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use function ob_get_clean; use function ob_start; /** * tests for PhpMyAdmin\Plugins\Auth\AuthenticationConfig class */ -class AuthenticationConfigTest extends PmaTestCase +class AuthenticationConfigTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportCodegenTest.php b/test/classes/Plugins/Export/ExportCodegenTest.php index ced32607d5..bb6b4c4e1d 100644 --- a/test/classes/Plugins/Export/ExportCodegenTest.php +++ b/test/classes/Plugins/Export/ExportCodegenTest.php @@ -14,7 +14,7 @@ use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem; use PhpMyAdmin\Properties\Options\Items\RadioPropertyItem; use PhpMyAdmin\Properties\Options\Items\SelectPropertyItem; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionClass; use ReflectionMethod; use ReflectionProperty; @@ -26,7 +26,7 @@ use function ob_start; * * @group medium */ -class ExportCodegenTest extends PmaTestCase +class ExportCodegenTest extends AbstractTestCase { /** @var ExportCodegen */ protected $object; diff --git a/test/classes/Plugins/Export/ExportCsvTest.php b/test/classes/Plugins/Export/ExportCsvTest.php index d20403fe18..778bf7b17a 100644 --- a/test/classes/Plugins/Export/ExportCsvTest.php +++ b/test/classes/Plugins/Export/ExportCsvTest.php @@ -14,7 +14,7 @@ use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -26,7 +26,7 @@ use function ob_start; * * @group medium */ -class ExportCsvTest extends PmaTestCase +class ExportCsvTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportExcelTest.php b/test/classes/Plugins/Export/ExportExcelTest.php index 473222952d..0657efd92a 100644 --- a/test/classes/Plugins/Export/ExportExcelTest.php +++ b/test/classes/Plugins/Export/ExportExcelTest.php @@ -15,7 +15,7 @@ use PhpMyAdmin\Properties\Options\Items\SelectPropertyItem; use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -25,7 +25,7 @@ use function array_shift; * * @group medium */ -class ExportExcelTest extends PmaTestCase +class ExportExcelTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportHtmlwordTest.php b/test/classes/Plugins/Export/ExportHtmlwordTest.php index 02b4141d78..a478165677 100644 --- a/test/classes/Plugins/Export/ExportHtmlwordTest.php +++ b/test/classes/Plugins/Export/ExportHtmlwordTest.php @@ -15,7 +15,7 @@ use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -28,7 +28,7 @@ use function ob_start; * * @group medium */ -class ExportHtmlwordTest extends PmaTestCase +class ExportHtmlwordTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportJsonTest.php b/test/classes/Plugins/Export/ExportJsonTest.php index de16a034b5..fa15ccd03a 100644 --- a/test/classes/Plugins/Export/ExportJsonTest.php +++ b/test/classes/Plugins/Export/ExportJsonTest.php @@ -12,7 +12,7 @@ use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use stdClass; @@ -23,7 +23,7 @@ use function array_shift; * * @group medium */ -class ExportJsonTest extends PmaTestCase +class ExportJsonTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportLatexTest.php b/test/classes/Plugins/Export/ExportLatexTest.php index b42eb96605..bf6432f44b 100644 --- a/test/classes/Plugins/Export/ExportLatexTest.php +++ b/test/classes/Plugins/Export/ExportLatexTest.php @@ -15,7 +15,7 @@ use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -27,7 +27,7 @@ use function ob_start; * * @group medium */ -class ExportLatexTest extends PmaTestCase +class ExportLatexTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportMediawikiTest.php b/test/classes/Plugins/Export/ExportMediawikiTest.php index 73f6b6348d..2104b624f6 100644 --- a/test/classes/Plugins/Export/ExportMediawikiTest.php +++ b/test/classes/Plugins/Export/ExportMediawikiTest.php @@ -14,7 +14,7 @@ use PhpMyAdmin\Properties\Options\Groups\OptionsPropertySubgroup; use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -26,7 +26,7 @@ use function ob_start; * * @group medium */ -class ExportMediawikiTest extends PmaTestCase +class ExportMediawikiTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportOdsTest.php b/test/classes/Plugins/Export/ExportOdsTest.php index a0c220e5cd..8544ad42b4 100644 --- a/test/classes/Plugins/Export/ExportOdsTest.php +++ b/test/classes/Plugins/Export/ExportOdsTest.php @@ -14,7 +14,7 @@ use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use stdClass; @@ -25,7 +25,7 @@ use function array_shift; * * @group medium */ -class ExportOdsTest extends PmaTestCase +class ExportOdsTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportOdtTest.php b/test/classes/Plugins/Export/ExportOdtTest.php index 9752787d00..3f1b10838b 100644 --- a/test/classes/Plugins/Export/ExportOdtTest.php +++ b/test/classes/Plugins/Export/ExportOdtTest.php @@ -15,7 +15,7 @@ use PhpMyAdmin\Properties\Options\Items\RadioPropertyItem; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use stdClass; @@ -26,7 +26,7 @@ use function array_shift; * * @group medium */ -class ExportOdtTest extends PmaTestCase +class ExportOdtTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportPdfTest.php b/test/classes/Plugins/Export/ExportPdfTest.php index af14472ef3..dceb4d5e47 100644 --- a/test/classes/Plugins/Export/ExportPdfTest.php +++ b/test/classes/Plugins/Export/ExportPdfTest.php @@ -13,7 +13,7 @@ use PhpMyAdmin\Properties\Options\Items\TextPropertyItem; use PhpMyAdmin\Properties\Options\Items\RadioPropertyItem; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -23,7 +23,7 @@ use function array_shift; * * @group medium */ -class ExportPdfTest extends PmaTestCase +class ExportPdfTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportPhparrayTest.php b/test/classes/Plugins/Export/ExportPhparrayTest.php index 9eb968bdd4..98585a4829 100644 --- a/test/classes/Plugins/Export/ExportPhparrayTest.php +++ b/test/classes/Plugins/Export/ExportPhparrayTest.php @@ -12,7 +12,7 @@ use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -24,7 +24,7 @@ use function ob_start; * * @group medium */ -class ExportPhparrayTest extends PmaTestCase +class ExportPhparrayTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportSqlTest.php b/test/classes/Plugins/Export/ExportSqlTest.php index 7d70815b45..5088b88496 100644 --- a/test/classes/Plugins/Export/ExportSqlTest.php +++ b/test/classes/Plugins/Export/ExportSqlTest.php @@ -19,7 +19,7 @@ use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertySubgroup; use PhpMyAdmin\Relation; use PhpMyAdmin\Table; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use stdClass; @@ -32,7 +32,7 @@ use function ob_start; * * @group medium */ -class ExportSqlTest extends PmaTestCase +class ExportSqlTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportTexytextTest.php b/test/classes/Plugins/Export/ExportTexytextTest.php index 93d284ba45..121b7540e6 100644 --- a/test/classes/Plugins/Export/ExportTexytextTest.php +++ b/test/classes/Plugins/Export/ExportTexytextTest.php @@ -15,7 +15,7 @@ use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -27,7 +27,7 @@ use function ob_start; * * @group medium */ -class ExportTexytextTest extends PmaTestCase +class ExportTexytextTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportXmlTest.php b/test/classes/Plugins/Export/ExportXmlTest.php index d78fab0d8a..6adb7ca809 100644 --- a/test/classes/Plugins/Export/ExportXmlTest.php +++ b/test/classes/Plugins/Export/ExportXmlTest.php @@ -14,7 +14,7 @@ use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem; use PhpMyAdmin\Table; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -26,7 +26,7 @@ use function ob_start; * * @group medium */ -class ExportXmlTest extends PmaTestCase +class ExportXmlTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/ExportYamlTest.php b/test/classes/Plugins/Export/ExportYamlTest.php index d48c70bacb..db067c717d 100644 --- a/test/classes/Plugins/Export/ExportYamlTest.php +++ b/test/classes/Plugins/Export/ExportYamlTest.php @@ -12,7 +12,7 @@ use PhpMyAdmin\Properties\Plugins\ExportPluginProperties; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyRootGroup; use PhpMyAdmin\Properties\Options\Groups\OptionsPropertyMainGroup; use PhpMyAdmin\Properties\Options\Items\HiddenPropertyItem; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use ReflectionProperty; use function array_shift; @@ -24,7 +24,7 @@ use function ob_start; * * @group medium */ -class ExportYamlTest extends PmaTestCase +class ExportYamlTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Export/Helpers/TablePropertyTest.php b/test/classes/Plugins/Export/Helpers/TablePropertyTest.php index c0bd8b719f..55f82d8801 100644 --- a/test/classes/Plugins/Export/Helpers/TablePropertyTest.php +++ b/test/classes/Plugins/Export/Helpers/TablePropertyTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Plugins\Export\Helpers; use PhpMyAdmin\Plugins\Export\Helpers\TableProperty; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * tests for PhpMyAdmin\Plugins\Export\Helpers\TableProperty class */ -class TablePropertyTest extends PmaTestCase +class TablePropertyTest extends AbstractTestCase { protected $object; diff --git a/test/classes/Plugins/Import/ImportCsvTest.php b/test/classes/Plugins/Import/ImportCsvTest.php index ac48b28aa4..d265ee76f9 100644 --- a/test/classes/Plugins/Import/ImportCsvTest.php +++ b/test/classes/Plugins/Import/ImportCsvTest.php @@ -9,13 +9,13 @@ namespace PhpMyAdmin\Tests\Plugins\Import; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\File; use PhpMyAdmin\Plugins\Import\ImportCsv; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use function basename; /** * Tests for PhpMyAdmin\Plugins\Import\ImportCsv class */ -class ImportCsvTest extends PmaTestCase +class ImportCsvTest extends AbstractTestCase { /** * @var ImportCsv diff --git a/test/classes/Plugins/Import/ImportLdiTest.php b/test/classes/Plugins/Import/ImportLdiTest.php index 4c29aea982..79a0bf7ed6 100644 --- a/test/classes/Plugins/Import/ImportLdiTest.php +++ b/test/classes/Plugins/Import/ImportLdiTest.php @@ -9,13 +9,13 @@ namespace PhpMyAdmin\Tests\Plugins\Import; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\File; use PhpMyAdmin\Plugins\Import\ImportLdi; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PHPUnit\Framework\MockObject\MockObject; /** * Tests for PhpMyAdmin\Plugins\Import\ImportLdi class */ -class ImportLdiTest extends PmaTestCase +class ImportLdiTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Import/ImportMediawikiTest.php b/test/classes/Plugins/Import/ImportMediawikiTest.php index e270eb26a7..bdeafdce76 100644 --- a/test/classes/Plugins/Import/ImportMediawikiTest.php +++ b/test/classes/Plugins/Import/ImportMediawikiTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Import; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\File; use PhpMyAdmin\Plugins\Import\ImportMediawiki; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Plugins\Import\ImportMediawiki class */ -class ImportMediawikiTest extends PmaTestCase +class ImportMediawikiTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Import/ImportOdsTest.php b/test/classes/Plugins/Import/ImportOdsTest.php index c05d25f4ca..e1fcd9b854 100644 --- a/test/classes/Plugins/Import/ImportOdsTest.php +++ b/test/classes/Plugins/Import/ImportOdsTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Import; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\File; use PhpMyAdmin\Plugins\Import\ImportOds; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Plugins\Import\ImportOds class */ -class ImportOdsTest extends PmaTestCase +class ImportOdsTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Import/ImportShpTest.php b/test/classes/Plugins/Import/ImportShpTest.php index db1e05011d..28f0bf1d86 100644 --- a/test/classes/Plugins/Import/ImportShpTest.php +++ b/test/classes/Plugins/Import/ImportShpTest.php @@ -9,7 +9,7 @@ namespace PhpMyAdmin\Tests\Plugins\Import; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\File; use PhpMyAdmin\Plugins\Import\ImportShp; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use function define; use function defined; use function extension_loaded; @@ -17,7 +17,7 @@ use function extension_loaded; /** * Tests for PhpMyAdmin\Plugins\Import\ImportShp class */ -class ImportShpTest extends PmaTestCase +class ImportShpTest extends AbstractTestCase { /** * @var ImportShp diff --git a/test/classes/Plugins/Import/ImportSqlTest.php b/test/classes/Plugins/Import/ImportSqlTest.php index 772c078b67..f0e08f35fb 100644 --- a/test/classes/Plugins/Import/ImportSqlTest.php +++ b/test/classes/Plugins/Import/ImportSqlTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Import; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\File; use PhpMyAdmin\Plugins\Import\ImportSql; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Plugins\Import\ImportSql class */ -class ImportSqlTest extends PmaTestCase +class ImportSqlTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Import/ImportXmlTest.php b/test/classes/Plugins/Import/ImportXmlTest.php index 0ce9a20c44..c0440416d8 100644 --- a/test/classes/Plugins/Import/ImportXmlTest.php +++ b/test/classes/Plugins/Import/ImportXmlTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Import; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\File; use PhpMyAdmin\Plugins\Import\ImportXml; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Plugins\Import\ImportXml class */ -class ImportXmlTest extends PmaTestCase +class ImportXmlTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Schema/DiaRelationSchemaTest.php b/test/classes/Plugins/Schema/DiaRelationSchemaTest.php index 55b1106bdd..47b73b9d82 100644 --- a/test/classes/Plugins/Schema/DiaRelationSchemaTest.php +++ b/test/classes/Plugins/Schema/DiaRelationSchemaTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Schema; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Plugins\Schema\Dia\DiaRelationSchema; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Plugins\Schema\Dia\DiaRelationSchema class */ -class DiaRelationSchemaTest extends PmaTestCase +class DiaRelationSchemaTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Schema/EpsRelationSchemaTest.php b/test/classes/Plugins/Schema/EpsRelationSchemaTest.php index 0ad5923177..ce325d7336 100644 --- a/test/classes/Plugins/Schema/EpsRelationSchemaTest.php +++ b/test/classes/Plugins/Schema/EpsRelationSchemaTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Schema; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Plugins\Schema\Eps\EpsRelationSchema; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for EpsRelationSchema class */ -class EpsRelationSchemaTest extends PmaTestCase +class EpsRelationSchemaTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Schema/ExportRelationSchemaTest.php b/test/classes/Plugins/Schema/ExportRelationSchemaTest.php index c0217fb7f6..ed1a7a6fc4 100644 --- a/test/classes/Plugins/Schema/ExportRelationSchemaTest.php +++ b/test/classes/Plugins/Schema/ExportRelationSchemaTest.php @@ -7,12 +7,12 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Plugins\Schema; use PhpMyAdmin\Plugins\Schema\ExportRelationSchema; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Plugins\Schema\ExportRelationSchema class */ -class ExportRelationSchemaTest extends PmaTestCase +class ExportRelationSchemaTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Schema/PdfRelationSchemaTest.php b/test/classes/Plugins/Schema/PdfRelationSchemaTest.php index 65ec531c81..b33a74f086 100644 --- a/test/classes/Plugins/Schema/PdfRelationSchemaTest.php +++ b/test/classes/Plugins/Schema/PdfRelationSchemaTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Schema; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Plugins\Schema\Pdf\PdfRelationSchema; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PdfRelationSchema class */ -class PdfRelationSchemaTest extends PmaTestCase +class PdfRelationSchemaTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Schema/SvgRelationSchemaTest.php b/test/classes/Plugins/Schema/SvgRelationSchemaTest.php index b61f000044..50afedac94 100644 --- a/test/classes/Plugins/Schema/SvgRelationSchemaTest.php +++ b/test/classes/Plugins/Schema/SvgRelationSchemaTest.php @@ -9,12 +9,12 @@ namespace PhpMyAdmin\Tests\Plugins\Schema; use PhpMyAdmin\DatabaseInterface; use PhpMyAdmin\Plugins\Schema\Svg\SvgRelationSchema; use PhpMyAdmin\Relation; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; /** * Tests for PhpMyAdmin\Plugins\Schema\Svg\SvgRelationSchema class */ -class SvgRelationSchemaTest extends PmaTestCase +class SvgRelationSchemaTest extends AbstractTestCase { /** @access protected */ protected $object; diff --git a/test/classes/Plugins/Transformations/TransformationPluginsTest.php b/test/classes/Plugins/Transformations/TransformationPluginsTest.php index 3d2402772c..b809c4ba7b 100644 --- a/test/classes/Plugins/Transformations/TransformationPluginsTest.php +++ b/test/classes/Plugins/Transformations/TransformationPluginsTest.php @@ -25,7 +25,7 @@ use PhpMyAdmin\Plugins\Transformations\Text_Plain_Link; use PhpMyAdmin\Plugins\Transformations\Text_Plain_Longtoipv4; use PhpMyAdmin\Plugins\Transformations\Text_Plain_PreApPend; use PhpMyAdmin\Plugins\Transformations\Text_Plain_Substring; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionMethod; use function date_default_timezone_set; use function function_exists; @@ -34,7 +34,7 @@ use function method_exists; /** * Tests for different input/output transformation plugins */ -class TransformationPluginsTest extends PmaTestCase +class TransformationPluginsTest extends AbstractTestCase { /** * Sets up the fixture, for example, opens a network connection. diff --git a/test/classes/RoutingTest.php b/test/classes/RoutingTest.php index a3332ed00d..ebc3008956 100644 --- a/test/classes/RoutingTest.php +++ b/test/classes/RoutingTest.php @@ -11,7 +11,7 @@ use PhpMyAdmin\Routing; /** * Tests for PhpMyAdmin\Routing */ -class RoutingTest extends PmaTestCase +class RoutingTest extends AbstractTestCase { /** * Test for Routing::getDispatcher diff --git a/test/classes/ScriptsTest.php b/test/classes/ScriptsTest.php index 9259b80040..ccc3acf635 100644 --- a/test/classes/ScriptsTest.php +++ b/test/classes/ScriptsTest.php @@ -14,7 +14,7 @@ use function defined; /** * Tests for Script.php */ -class ScriptsTest extends PmaTestCase +class ScriptsTest extends AbstractTestCase { /** @var Scripts */ protected $object; diff --git a/test/classes/Setup/ConfigGeneratorTest.php b/test/classes/Setup/ConfigGeneratorTest.php index 4793981ef0..64f6357818 100644 --- a/test/classes/Setup/ConfigGeneratorTest.php +++ b/test/classes/Setup/ConfigGeneratorTest.php @@ -9,13 +9,13 @@ namespace PhpMyAdmin\Tests\Setup; use PhpMyAdmin\Config; use PhpMyAdmin\Config\ConfigFile; use PhpMyAdmin\Setup\ConfigGenerator; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use ReflectionClass; /** * Tests for PhpMyAdmin\Setup\ConfigGenerator */ -class ConfigGeneratorTest extends PmaTestCase +class ConfigGeneratorTest extends AbstractTestCase { /** * Sets up the fixture, for example, opens a network connection. diff --git a/test/classes/StorageEngineTest.php b/test/classes/StorageEngineTest.php index 7df0eefa5d..395c43bdbf 100644 --- a/test/classes/StorageEngineTest.php +++ b/test/classes/StorageEngineTest.php @@ -24,7 +24,7 @@ use PHPUnit\Framework\MockObject\MockObject; /** * Tests for StorageEngine.php */ -class StorageEngineTest extends PmaTestCase +class StorageEngineTest extends AbstractTestCase { /** @var StorageEngine|MockObject */ protected $object; diff --git a/test/classes/SystemDatabaseTest.php b/test/classes/SystemDatabaseTest.php index 64377e96c6..1cdfcff3ae 100644 --- a/test/classes/SystemDatabaseTest.php +++ b/test/classes/SystemDatabaseTest.php @@ -12,7 +12,7 @@ use PhpMyAdmin\SystemDatabase; /** * Tests for libraries/SystemDatabase.php */ -class SystemDatabaseTest extends PmaTestCase +class SystemDatabaseTest extends AbstractTestCase { /** * SystemDatabase instance diff --git a/test/classes/TableTest.php b/test/classes/TableTest.php index 05d0012c65..be1baf48ad 100644 --- a/test/classes/TableTest.php +++ b/test/classes/TableTest.php @@ -16,7 +16,7 @@ use stdClass; /** * Tests behaviour of Table class */ -class TableTest extends PmaTestCase +class TableTest extends AbstractTestCase { /** * Configures environment diff --git a/test/classes/TemplateTest.php b/test/classes/TemplateTest.php index 5e7fe43ea0..940545bae4 100644 --- a/test/classes/TemplateTest.php +++ b/test/classes/TemplateTest.php @@ -12,7 +12,7 @@ use Twig\Error\LoaderError; /** * Test for PhpMyAdmin\Template class */ -class TemplateTest extends PmaTestCase +class TemplateTest extends AbstractTestCase { /** @var Template */ protected $template; diff --git a/test/classes/ThemeManagerTest.php b/test/classes/ThemeManagerTest.php index 343ffcb733..aa2a498cd4 100644 --- a/test/classes/ThemeManagerTest.php +++ b/test/classes/ThemeManagerTest.php @@ -13,7 +13,7 @@ use PhpMyAdmin\ThemeManager; /** * tests for ThemeManager class */ -class ThemeManagerTest extends PmaTestCase +class ThemeManagerTest extends AbstractTestCase { /** * SetUp for test cases diff --git a/test/classes/ThemeTest.php b/test/classes/ThemeTest.php index eb674dbfbb..cd4b7f20cb 100644 --- a/test/classes/ThemeTest.php +++ b/test/classes/ThemeTest.php @@ -13,7 +13,7 @@ use function filemtime; /** * Test class for Theme. */ -class ThemeTest extends PmaTestCase +class ThemeTest extends AbstractTestCase { /** @var Theme */ protected $object; diff --git a/test/classes/TrackerTest.php b/test/classes/TrackerTest.php index a85f2aa80c..ca397856b5 100644 --- a/test/classes/TrackerTest.php +++ b/test/classes/TrackerTest.php @@ -15,7 +15,7 @@ use ReflectionProperty; /** * Tests for PhpMyAdmin\Tracker */ -class TrackerTest extends PmaTestCase +class TrackerTest extends AbstractTestCase { /** * Setup function for test cases diff --git a/test/classes/TwoFactorTest.php b/test/classes/TwoFactorTest.php index 24a8d1a6ea..06e6526bc2 100644 --- a/test/classes/TwoFactorTest.php +++ b/test/classes/TwoFactorTest.php @@ -16,7 +16,7 @@ use function in_array; /** * Tests behaviour of TwoFactor class */ -class TwoFactorTest extends PmaTestCase +class TwoFactorTest extends AbstractTestCase { protected function setUp(): void { diff --git a/test/classes/TypesTest.php b/test/classes/TypesTest.php index 6b0f24af43..37bd5f4338 100644 --- a/test/classes/TypesTest.php +++ b/test/classes/TypesTest.php @@ -11,7 +11,7 @@ use PhpMyAdmin\Types; /** * Testcase for MySQL types handling. */ -class TypesTest extends PmaTestCase +class TypesTest extends AbstractTestCase { /** @var Types */ protected $object; diff --git a/test/classes/UtilTest.php b/test/classes/UtilTest.php index edfa7bc3fe..fadbd1d508 100644 --- a/test/classes/UtilTest.php +++ b/test/classes/UtilTest.php @@ -28,7 +28,7 @@ use function trim; /** * Test for PhpMyAdmin\Util class */ -class UtilTest extends PmaTestCase +class UtilTest extends AbstractTestCase { /** * init data for the test diff --git a/test/classes/Utils/FormatConverterTest.php b/test/classes/Utils/FormatConverterTest.php index 9114de556d..810aa574c9 100644 --- a/test/classes/Utils/FormatConverterTest.php +++ b/test/classes/Utils/FormatConverterTest.php @@ -6,10 +6,10 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Utils; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Utils\FormatConverter; -class FormatConverterTest extends PmaTestCase +class FormatConverterTest extends AbstractTestCase { /** * Test for binaryToIp diff --git a/test/classes/Utils/HttpRequestTest.php b/test/classes/Utils/HttpRequestTest.php index 2b408a01da..5cac0908c7 100644 --- a/test/classes/Utils/HttpRequestTest.php +++ b/test/classes/Utils/HttpRequestTest.php @@ -6,7 +6,7 @@ declare(strict_types=1); namespace PhpMyAdmin\Tests\Utils; -use PhpMyAdmin\Tests\PmaTestCase; +use PhpMyAdmin\Tests\AbstractTestCase; use PhpMyAdmin\Utils\HttpRequest; use const CURLOPT_CAINFO; use const CURLOPT_CAPATH; @@ -15,7 +15,7 @@ use function function_exists; use function ini_get; use function stripos; -class HttpRequestTest extends PmaTestCase +class HttpRequestTest extends AbstractTestCase { /** @var HttpRequest */ private $httpRequest; diff --git a/test/classes/VersionInformationTest.php b/test/classes/VersionInformationTest.php index 98168de3ca..354ba8d9b9 100644 --- a/test/classes/VersionInformationTest.php +++ b/test/classes/VersionInformationTest.php @@ -12,7 +12,7 @@ use stdClass; /** * Tests for methods in PhpMyAdmin\VersionInformation class */ -class VersionInformationTest extends PmaTestCase +class VersionInformationTest extends AbstractTestCase { /** @var stdClass[] */ private $_releases; diff --git a/test/classes/ZipExtensionTest.php b/test/classes/ZipExtensionTest.php index 850ec15566..1e99817957 100644 --- a/test/classes/ZipExtensionTest.php +++ b/test/classes/ZipExtensionTest.php @@ -17,7 +17,7 @@ use function unlink; /** * Tests zip extension usage. */ -class ZipExtensionTest extends PmaTestCase +class ZipExtensionTest extends AbstractTestCase { /** @var ZipExtension */ private $zipExtension;