Maurício Meneghini Fauth
|
1438cb211e
|
Replace global keyword with $GLOBALS
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2022-03-07 17:31:11 -03:00 |
|
Maurício Meneghini Fauth
|
acff73aa24
|
Merge pull request #17215 from kamil-tekiela/Psalm-fixes-1
Use array_keys whenever only keys are needed in foreach
|
2021-12-02 18:42:12 -03:00 |
|
Maurício Meneghini Fauth
|
e936cad542
|
Add basic test for Table\OperationsController class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-01 11:47:19 -03:00 |
|
Kamil Tekiela
|
488e7cb5bf
|
Use array_keys whenever only keys are needed in foreach
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2021-11-29 20:37:39 +00:00 |
|
Maurício Meneghini Fauth
|
090d2eece7
|
Fix some issues found by PHPStan
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-11-16 15:11:57 -03:00 |
|
Maurício Meneghini Fauth
|
67e96cf40c
|
Get default config values from Config\Settings classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-30 12:04:47 -03:00 |
|
William Desportes
|
806e2740ba
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-27 22:09:55 +02:00 |
|
William Desportes
|
483df1d961
|
Add $this->dummyDbi->addErrorCode method to be able to test error code behaviors
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-27 03:17:18 +02:00 |
|
William Desportes
|
2c28a715b4
|
Add methods to DbiDummy and AbstractTestCase to control changing databases
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-24 02:01:00 +02:00 |
|
William Desportes
|
20e9d5bf39
|
Improve debug of assertAllQueriesConsumed
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-07-20 19:29:24 +02:00 |
|
William Desportes
|
3a87667cab
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-07-20 17:52:16 +02:00 |
|
William Desportes
|
32d0d3f149
|
Fix a typo
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-07-20 01:45:14 +02:00 |
|
William Desportes
|
a9cfb1ec88
|
Implement AbstractTestCase::setResponseIsAjax
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-07-20 01:30:38 +02:00 |
|
Maurício Meneghini Fauth
|
355f6d9d20
|
Remove PhpMyAdmin\Config::enableBc method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-07-09 13:59:04 -03:00 |
|
Maurício Meneghini Fauth
|
9adaa912e1
|
Rename Response class to ResponseRenderer
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-30 12:35:22 -03:00 |
|
William Desportes
|
0a1f083990
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-23 20:36:21 +02:00 |
|
William Desportes
|
897f07d50d
|
Implement error management for #16977
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-23 13:18:40 +02:00 |
|
William Desportes
|
575abb7b08
|
Adjust tests and failing tests for a specific seed
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-17 16:52:09 +02:00 |
|
William Desportes
|
e7c2557f02
|
Fix Theme::load after #16967
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-16 01:44:21 +02:00 |
|
William Desportes
|
cbe13a75e8
|
Move code from bootstrap-dist into AbstractTestCase setUp
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-06-04 02:17:25 +02:00 |
|
William Desportes
|
a29af90d95
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-31 18:18:44 +02:00 |
|
William Desportes
|
6b169b9fdf
|
Make sure tests use the queries they added to the pile
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-31 18:12:31 +02:00 |
|
William Desportes
|
919ce3975f
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-31 17:19:05 +02:00 |
|
William Desportes
|
815ee5c7f9
|
Improve DB testing capabilities by replacing the actual system by a filo system
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-31 16:02:24 +02:00 |
|
William Desportes
|
f700e56e42
|
Add tests for #16871
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-04-29 22:52:35 +02:00 |
|
William Desportes
|
a4bcd1cfc4
|
Move DBI getForeignKeyConstrains method to controller
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-04-29 00:19:02 +02:00 |
|
Maurício Meneghini Fauth
|
90778eecf7
|
Upgrade phpmyadmin/coding-standard to 3.0.0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-19 02:20:46 -03:00 |
|
Maurício Meneghini Fauth
|
59e4dae52a
|
Remove invalid inline doc comments
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-18 14:49:28 -03:00 |
|
William Desportes
|
7c2ebb163c
|
Write revision info from a CLI
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-25 21:42:23 +01:00 |
|
Maurício Meneghini Fauth
|
33d711215d
|
Remove the PMA_VERSION constant
Uses the PhpMyAdmin\Version::VERSION constant instead.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-08 22:22:55 -03:00 |
|
Maurício Meneghini Fauth
|
7e33d227f5
|
Rename the PMA_Config global variable to config
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-08 15:03:12 -03:00 |
|
Maurício Meneghini Fauth
|
2c2127b369
|
Rename PMA_Theme global variable to theme
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-07 15:15:27 -03:00 |
|
William Desportes
|
7bd3ec6b35
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-06 21:25:54 +01:00 |
|
William Desportes
|
5a45a0d34b
|
Add methods to access and stub the Response class
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-06 19:29:34 +01:00 |
|
William Desportes
|
b43c20191f
|
Add container builder loading methods to the asbtract test case
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-06 17:53:30 +01:00 |
|
William Desportes
|
c2518aa34b
|
Use early exit for setProxySettings in AbstractTestCase
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-06 02:11:10 +01:00 |
|
William Desportes
|
abdeb98b08
|
Drop test constants PROXY_{URL,USER,PASS} in favor of existing ENV http_proxy
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-05 21:27:59 +01:00 |
|
William Desportes
|
b5263d44c8
|
Replace PMA_MAJOR_VERSION by Version::SERIES
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-03-05 21:22:42 +01:00 |
|
Maurício Meneghini Fauth
|
d83abf63e7
|
Use PSR-12 for control structures spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 15:27:03 -03:00 |
|
Maurício Meneghini Fauth
|
0b8edc5bde
|
Use PSR-12 for namespace use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-05 14:18:35 -03:00 |
|
Maurício Meneghini Fauth
|
57ffba8dd4
|
Refactor ThemeManager::loadThemes
Removes themesPath property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-01-27 18:24:56 -03:00 |
|
William Desportes
|
4ec972a1ec
|
Improve the documentation of AbstractTestCase::callFunction
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-11-08 23:03:15 +01:00 |
|
William Desportes
|
7a78895f6b
|
Remove typehint as object for php 7.1
Ref: a80153a633
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-18 00:33:35 +02:00 |
|
William Desportes
|
a80153a633
|
Add typehints using phpcbf on test/*
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-17 22:52:42 +02:00 |
|
Maurício Meneghini Fauth
|
3b285ff17e
|
Use identical operator for non-empty strings
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-10 18:06:29 -03:00 |
|
William Desportes
|
fd21520711
|
Merge branch 'QA_5_0'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-01 14:40:36 +02:00 |
|
Maurício Meneghini Fauth
|
b30f06455c
|
Remove the blacklist/whitelist terminology
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-06-15 17:51:24 -03:00 |
|
Maurício Meneghini Fauth
|
3ae05c785d
|
Use short list syntax and single line arrays
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-26 03:32:59 -03:00 |
|
Maurício Meneghini Fauth
|
9269d75fb4
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 20:22:18 -03:00 |
|
William Desportes
|
b49745ceef
|
Remove all globals for selenium tests and use getenv
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-24 13:51:50 +02:00 |
|