Kamil Tekiela
|
b62ffe17c7
|
Merge the logic into Settings
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2025-01-16 19:31:50 +00:00 |
|
Maurício Meneghini Fauth
|
3e5934ef80
|
Fix failing tests
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-11 15:06:14 -03:00 |
|
Maurício Meneghini Fauth
|
c635322354
|
Remove the special_message global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-10 17:52:26 -03:00 |
|
Maurício Meneghini Fauth
|
1564e8037b
|
Remove the using_bookmark_message global variable
Replaces it with Sql::$usingBookmarkMessage static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-10 16:54:08 -03:00 |
|
Maurício Meneghini Fauth
|
56b9e2132f
|
Remove the show_as_php global variable
Replaces it with Sql::$showAsPhp static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-10 12:46:42 -03:00 |
|
Maurício Meneghini Fauth
|
0669a17827
|
Remove the display_query global variable
Replaces it with Current::$displayQuery static property.
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2025-01-08 23:48:08 -03:00 |
|
Kamil Tekiela
|
8015e4de72
|
Move DatabaseInterface to Dbal
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-12-22 18:34:53 +00:00 |
|
Maurício Meneghini Fauth
|
7d6b17a417
|
Replace sql_query global var with Current::$sqlQuery
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2024-12-09 13:51:22 -03:00 |
|
Maurício Meneghini Fauth
|
2c597e3f79
|
Fix compatibility with PHPUnit 11
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
|
2024-08-29 13:51:46 -03:00 |
|
Kamil Tekiela
|
cfa9beaa7f
|
Drop $GLOBALS['unparsed_sql']
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-04-06 18:37:05 +02:00 |
|
Kamil Tekiela
|
82c85d26c0
|
Clean up of tests (#19067)
* Fix wrong type hint
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use $this instead of parent
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* setUp should be a protected method
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* onNotSuccessfulTest should be protected
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* $command doesn't need to be a property
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Give alertText() proper return type
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use null-safe operator
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Call Message static constructors statically
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Call StorageEngine methods statically
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Add better type hints in PrivilegesController
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use packed (without keys) arrays in tests
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use type casts instead of function casts
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use const instead of private property
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use const instead of private property
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Fix testAuthFailsTooLongPass()
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Replace loop with array_shift
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use ob_get_clean
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Remove duplicated code
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
* Use assert instead of phpdoc
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
---------
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2024-03-20 13:34:55 -03:00 |
|
Maurício Meneghini Fauth
|
606f66b5df
|
Rename tests/classes to tests/unit
This directory is for unit tests only, so let's rename it to unit to be
more clear.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2024-02-23 13:29:07 -03:00 |
|