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
2021-08-31Merge branch 'QA_5_1'William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-30Make controllers callableMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-30Fix unit tests on WindowsMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-28Refactor setProperties method of Plugin classesMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-28Fix tests after dc5cf4766bWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-28Fix #16906 - Replace table names with the configuration ones while creating ↵William Desportes
the storage tables Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-28Ref #16906 - Add tests for Relation::getDefaultPmaTableNamesWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27Merge branch 'QA_5_1'William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27Improve type check of `Plugins::getDefault` methodMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-27Refactor `PhpMyAdmin\Plugins::getChoice` methodMaurício Meneghini Fauth
Extracts the getDefault method from the getChoice method and adds a getName method to the Plugin interface. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-27Ref #16906 - Allow to create the pma storage db using a different name than ↵William Desportes
"phpmyadmin" Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27Ref #16906 - Add tests for Relation::createPmaDatabaseWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27Ref #16906 - Improve tests for Relation::fixPmaTablesWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27Ref #16906 - Add tests for Relation::fixPmaTablesWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-27Add $this->dummyDbi->addErrorCode method to be able to test error code behaviorsWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-26Add some tests for Plugins classMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-25Extract HTML from `Plugins::getChoice` methodMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-24Fix failing tests after last changeWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-24Make Tracking::enabled not use statics as it does mess up with testsWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-24Add methods to DbiDummy and AbstractTestCase to control changing databasesWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-23Merge branch 'QA_5_1'William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-23Fix SqlControllerTest after PR #17068Lukas Bixen
Signed-off-by: Lukas Bixen <lrb2_@outlook.com>
2021-08-23Fix ResultsTest after pull-request #17070Lukas Bixen
Signed-off-by: Lukas Bixen <lrb2_@outlook.com>
2021-08-23Merge branch 'QA_5_1'William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-21Move partition classes to the `Partitioning` namespaceMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-21Add support for account lockingMaurício Meneghini Fauth
- https://dev.mysql.com/doc/refman/en/account-locking.html - https://mariadb.com/kb/en/account-locking/ Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-20Ref #17084 - comment the code and add a new test caseWilliam Desportes
And fix the modified test Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-18Fix ErrorHandler sliceErrors not returning errorsCraig McNeill
Signed-off-by: Craig McNeill <craig@mmddata.ca>
2021-08-18Fix #14502 - Uncheck the "ignore" checkbox on GIS modal save valueWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-14Fix failing test depending on variable order in the arrayWilliam Desportes
Seed: 1628944337 Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-14Merge branch 'QA_5_1'William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-14Fix testGetAllFunctions test after #17079William Desportes
Extracted from pull-request #17074 by myself (@williamdes). Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
2021-08-13Remove `$dbi` mock from PrivilegesTest::testGetHtmlForUserProperties testMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-13Add test cases for phpmyadmin/docker#328William Desportes
Closes: phpmyadmin/docker#328 Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-11Ref #13270 - fix(query.twig): Inline events removed (#16905)Sergio Gutierrez
* fix(query.twig): Inline events removed Signed-off-by: Sergio Gutierrez <sergiogutierrez0611@gmail.com> * fix(SqlQueryFormTest.php): Enable auto select text in text area assertion test fixed Signed-off-by: Sergio Gutierrez <sergiogutierrez0611@gmail.com>
2021-08-11Merge branch 'QA_5_1'William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-11Ref #17039 - Fix testPostConnectControl testWilliam Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-11Un-mock TwoFactorTest - Add tests for #15724William Desportes
Two years ago I made the fix 6c35ea3be7b201a1ed189ba667160e8f51ce9599 but no tests seem to back up this behavior Now that I removed the mocks, it is safe Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-11Add tests for #17039William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-10Merge branch 'QA_5_1'William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-10Fix test after #17014William Desportes
Pull-request: #17064 Ref: #17014 This commit is the proof that the PR was right and that it works Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-10Add tests for #17014William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>
2021-08-09Remove `$defaultFunction` variable from `Display\Results`Maurício Meneghini Fauth
Makes the type of $transformationPlugin variable more strict. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-07Wrap GD functions with the ImageWrapper classMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-05Fix some errors found by PHPStan/PsalmMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-03Add more tests for `Config\Settings` classesMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-08-01Fix NavigationControllerTest failing testMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-07-31Add tests for `Config\Settings\Export` classMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-07-31Create `Settings` value object for `$cfg` globalMaurício Meneghini Fauth
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-07-28Fix tests after #16937William Desportes
Signed-off-by: William Desportes <williamdes@wdes.fr>