Commit Graph

9 Commits

Author SHA1 Message Date
Aleksander Machniak
0df8e97476 Small code improvement + tests 2021-03-22 16:11:38 +01:00
Aleksander Machniak
066faa1485 CS fixes, short array syntax, PHP8 fixes, tests
also fixed listing of table columns on SQLite database
2020-11-28 10:06:41 +01:00
Aleksander Machniak
47d9ed6d0c Add support for PHPUnit 6 and 7 (#6870)
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned

We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
2019-12-28 09:37:45 +01:00
Aleksander Machniak
a80d73602f Fix db_prefix handling in queries with TRUNCATE TABLE <name> and UNIQUE <name> (#7013) 2019-11-11 14:53:41 +01:00
Aleksander Machniak
ce61c8210e Added test for rcube_db::parse_dsn() 2017-04-22 08:14:56 +02:00
Thomas Bruederli
0bfc862283 Specify test groups for inclusion/exclusion 2015-05-19 18:53:50 +02:00
Aleksander Machniak
496972bf95 Fix backtick character handling in sql queries (#1490312) 2015-03-12 09:44:31 +01:00
Aleksander Machniak
ecef4cc919 Add some unit tests for DB classes 2014-04-29 13:50:59 +02:00
Aleksander Machniak
d3abad2876 Add more tests for framework classes 2014-02-09 17:39:27 +01:00