Maurício Meneghini Fauth
|
995ec44d13
|
Move DatabaseInterface::initRelationParamsCache method to Relation class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-17 12:09:13 -03:00 |
|
Maurício Meneghini Fauth
|
c411121fd8
|
Move Relation classes into the ConfigStorage namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-17 12:09:13 -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 |
|
Maurício Meneghini Fauth
|
f00d70cccb
|
Remove useless whitespaces
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-09-15 17:05:40 -03:00 |
|
William Desportes
|
828d8e1de4
|
Merge branch 'QA_5_1'
Also fixed tests from previous merge: 2d307ed062
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-31 00:46:37 +02:00 |
|
William Desportes
|
2d307ed062
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-31 00:18:17 +02:00 |
|
William Desportes
|
2b177839bf
|
Fix tests after dc5cf4766b
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-28 04:08:11 +02:00 |
|
William Desportes
|
b0ec0fd112
|
Fix #16906 - Replace table names with the configuration ones while creating the storage tables
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-28 03:55:58 +02:00 |
|
William Desportes
|
a35553831b
|
Fix failing tests after last change
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-24 02:01:05 +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
|
517479f846
|
Fix failing test depending on variable order in the array
Seed: 1628944337
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-14 14:45:01 +02:00 |
|
William Desportes
|
880043961e
|
Merge branch 'QA_5_1'
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-11 02:53:56 +02:00 |
|
William Desportes
|
b98a3a7589
|
Ref #17039 - Fix testPostConnectControl test
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-11 02:40:17 +02:00 |
|
William Desportes
|
d8c604f836
|
Add tests for #17039
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-08-11 00:36:19 +02:00 |
|
Maurício Meneghini Fauth
|
57f0464534
|
Add basic unit test for DatabaseInterface::getTablesFull
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-19 14:17:47 -03:00 |
|
Maurício Meneghini Fauth
|
f3b79d83c0
|
Add PHPUnit's Covers annotation on test classes
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-06-04 23:39:26 -03:00 |
|
William Desportes
|
7ad73a7d6c
|
Remove mocking from DatabaseInterfaceTest
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2021-05-31 18:30:46 +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
|
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
|
59e4dae52a
|
Remove invalid inline doc comments
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-04-18 14:49:28 -03: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 |
|
William Desportes
|
2706575bc6
|
Fix a test method name
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-11-08 23:01:26 +01:00 |
|
William Desportes
|
50e900a1bf
|
Remove all @test annotations
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-11-08 23:01:26 +01:00 |
|
Maurício Meneghini Fauth
|
e4e274976e
|
Extract cache methods from Util to SessionCache class
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-10-25 22:45:56 -03:00 |
|
William Desportes
|
d63a72ad51
|
Fixes #16278 - Remove underscore prefix from property names
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-08-06 15:46:39 +02:00 |
|
William Desportes
|
ddfdbc2134
|
Remove some useless doc blocks and fix some coding standard warnings
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-18 00:14:32 +02:00 |
|
William Desportes
|
0340f66740
|
Fix some tests having wrong typehints
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-07-17 23:55:49 +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
|
47f0960dce
|
Add return type declaration to test methods
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-07 11:31:33 -03:00 |
|
William Desportes
|
802797c176
|
Move getConnectionParams to Config class
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-31 16:01:38 +02:00 |
|
William Desportes
|
eecab19b3e
|
Move versionToInt to Query\Utilities
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-31 14:18:03 +02:00 |
|
William Desportes
|
585304b685
|
Move formatError into Query\Utilities
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-31 01:44:02 +02:00 |
|
Maurício Meneghini Fauth
|
3baad2eb1c
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 22:42:37 -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
|
49a6d6e8d0
|
Use AbstractTestCase instead of PmaTestCase for all tests not needing mockResponse
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-22 01:45:50 +02:00 |
|
William Desportes
|
ae575ffb14
|
Fix running tests in --process-isolation
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-21 16:21:20 +02:00 |
|
William Desportes
|
8f7d3d1fa7
|
Fix test cases after backupGlobals = false
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-21 02:07:45 +02:00 |
|
William Desportes
|
6eaa55e805
|
Call parent's setUp and tearDown
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-20 21:31:13 +02:00 |
|
William Desportes
|
0b2c24ee26
|
Use ::class in tests
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
2020-05-20 12:15:40 +02:00 |
|
Maurício Meneghini Fauth
|
a64393e7f5
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-13 00:23:28 -03:00 |
|
Maurício Meneghini Fauth
|
206199105e
|
Remove useless return type annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-23 13:03:29 -03:00 |
|
Maurício Meneghini Fauth
|
6584b01824
|
Use short versions of scalar types in PHP docs
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-23 12:20:04 -03:00 |
|
Maurício Meneghini Fauth
|
42166cac37
|
Remove use statements within the same namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-21 19:47:56 -03:00 |
|
Maurício Meneghini Fauth
|
f80d3e3bd4
|
Remove unnecessary annotations
@package, @subpackage and others.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 17:35:56 -03:00 |
|
Maurício Meneghini Fauth
|
6283caaabf
|
Use one line for comments with a single line
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 16:04:09 -03:00 |
|
Maurício Meneghini Fauth
|
39f42f848b
|
Remove some useless docblock comments
Fixes docblock spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-12-13 21:15:00 -03:00 |
|
Maurício Meneghini Fauth
|
77518d341e
|
Remove unused use statements
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2019-12-11 21:20:58 -03:00 |
|