Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-10-04Merge branch 'QA_5_2'Maurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-10-01Fix exception for invalid db and table names for the privileges pageMaurício Meneghini Fauth
Related to #17729 Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-10-01Add a test for the compressed option for MariaDBWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2022-09-30Reduce usage of the containerBuilder global variableMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-30Remove loadContainerBuilder call from AbstractTestCase::setUp methodMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-30Remove setTheme call from AbstractTestCase::setUp methodMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-29Merge branch 'QA_5_2'Maurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-26Update setup page to generate better blowfish_secret keysMaurício Meneghini Fauth
Instead of generating a printable string, it generates a binary string and converts it to an hexadecimal string. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-21Extract /console/bookmark/add action from ImportControllerMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-21Extract /console/bookmark/refresh action from ImportControllerMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-20Merge branch 'QA_5_2'Maurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-20Use Psalm annotation for ResultInterface::getIteratorMaurício Meneghini Fauth
Adds Psalm's prefix for the return annotation to avoid lint errors. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-18Add tryFromValue method to DatabaseName and TableName classesMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-13Remove crlf global variableMaurício Meneghini Fauth
The crlf global variable is only diferent for SQL export method, otherwise is always the value of the PHP_EOL constant. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-11Move DBI's getProceduresOrFunctions into Routines classMaurício Meneghini Fauth
Splits the method into Routines::getFunctionNames and Routines::getProcedureNames and adds tests. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-11Move DBI's getDefinition into the Routines and Events classesMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-10Move DBI getTriggers method into the Triggers classMaurício Meneghini Fauth
DatabaseInterface::getTriggers -> Database\Triggers::getDetails Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-09Improve type declaration of Index::getCompareData methodMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-08Extract dbi global variable from Index::loadIndexesMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-07Add some unit tests for the Util classMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-05Remove UtilTest's setUp methodMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-04Fix some errors found by PHPStan in ZipExtensionTest classMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-03Fix errors reported by PHPStan in test/seleniumMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-09-03Add unit test for the DatabaseInterface::prepare methodMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-30Refactor DbiMysqli::connect to use Server value objectMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-23Refactor insert edit (#17684)Kamil Tekiela
This is a major redesign of the code that handles these four actions: in-place edit(AJAX), edit of multiple rows, copying of rows, and insertion of new rows. The goal is to make the code easier to read and more understandable. I introduced a new DTO for better readability. Some of the methods were made private to the model The controller has access to two methods for getting the value for INSERT and for UPDATE Unfortunately, I have introduced method envy on EditField, but I do not want to move the functionality away from InsertEdit.php Unit tests have not improved in readability but I added helpful comments explaining what we are testing. There's probably a way to improve it too. I will probably merge all commits once I decide it's ready for review. Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-23Merge pull request #17691 from kamil-tekiela/Fix-incomplete-testMaurício Meneghini Fauth
Fix incomplete Privileges test
2022-08-21Add unit tests for Table\Structure\SpatialController classMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-20Add unit tests for Table\Structure\UniqueController classMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-20Extract Console dependencies from constructorMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-19Fix incomplete Privileges testKamil Tekiela
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-19Merge branch 'QA_5_2'Maurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-15Allow fields to be set to NULLKamil Tekiela
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-13Merge branch 'QA_5_2'Maurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-11Merge pull request #17679 from ↵Maurício Meneghini Fauth
kamil-tekiela/Fix-bug-that-doesn't-allow-insertion-of-set-values Fix bug not allowing insertion of set values
2022-08-10Fix ExportTest failing test with PHP 8.1+Maurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-10Add basic test for Export::exportServerMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-10Add basic test for Export::exportDatabaseMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-08Fix bug #17663Kamil Tekiela
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-08Fix bug not allowing insertion of set valuesKamil Tekiela
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2022-08-06Extract url.php entry point into a routeMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-03Extract normalization's partial dependencies actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-03Extract normalization's create new column actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-03Extract normalization's get columns actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-02Extract normalization's add new primary actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-02Rename NormalizationController to Normalization\MainControllerMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-02Extract normalization's move repeating group actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-02Extract normalization 3NF create new tables actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-02Extract normalization 2NF create new tables actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-08-02Extract normalization 3NF new tables actionMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>