Commit Graph

27 Commits (ac61839d1e843cd0b1def0639b4ac561e8dccaf5)

Author SHA1 Message Date
Côme Chilliet ac61839d1e
fix(tests): Fix PHPUnit deprecation warnings in tests 1 week ago
Carl Schwan 9b2fff5931 refactor(querybuilder): Port away from qb::execute() in tests/ 1 month ago
Robin Appelman aa15f9d16d
chore: run rector 3 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 3 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 4 months ago
Joas Schilling 437f380fd9
test: Fix most tests/lib/DB/QueryBuilder 5 months ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Robin Appelman 9de6190ec4
feat: allow running QueryBuilder queries on different connections 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 1 year ago
Joas Schilling b04f6d57b4
fix(tests): Make PostgreSQL unit tests less flacky by ordering 2 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 4 years ago
Vitor Mattos b6d9e0542d
Fix column size to work with Oracle. Add unit tests 4 years ago
Vitor Mattos afe5b6dd8a
Prevent query error when use subquery 4 years ago
Christoph Wurst 130ab63ca1
Bump doctrine/dbal from 3.0.0 to 3.1.3 4 years ago
Arthur Schiwon f9484d15cb
DB: warn on parameter number constraints 5 years ago
Robin Appelman a61a757b85
allow selecting multiple columns with SELECT DISTINCT 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Joas Schilling c68718f90c
Remove dropped " ON " when join has no condition 5 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Joas Schilling bf2be08c9f
Fix risky tests without assertions 8 years ago
Joas Schilling 293dea0625
Fix querybuilder and functionbuilder tests 8 years ago
Robin Appelman 48df99f2e0
fix quote helper test 9 years ago
Lukas Reschke a8b7df9cc1
Add tests 9 years ago
Joas Schilling 2c4035e806
Inject config and logger 9 years ago
Thomas Müller b1641cc113
Fix QueryBuilderTests 9 years ago
Joas Schilling 94ad54ec9b Move tests/ to PSR-4 (#24731) 10 years ago
Joas Schilling 5c0be3b565 Fix the last insert id test by changing to an autoincrement table 10 years ago
Joas Schilling 9f98849306 Add a method to the get "to use" table and column name 10 years ago
Joas Schilling a3391248e4 Add select distinct to the query builder 10 years ago
Joas Schilling f2c7acb3c0 Allow getting the last insert id without much hassle 10 years ago
Thomas Müller 3bb6dcea64 Apply DB group annotation ... 10 years ago
Joas Schilling 1c7d7288c4 Add a method to select a field or value with alias 10 years ago
Joas Schilling 5fea6f753e Automatically prefix table names with *PREFIX* unless specified 10 years ago
Joas Schilling f9071ed5b7 Comment out LIMIT 0 case because of the mixed results 10 years ago
Joas Schilling c9564503c2 Fix tests for setFirstResult and setMaxResults on oracle 10 years ago
Joas Schilling 22849238fb Set a limit until doctrine released a version that fixes Sqlite 10 years ago
Joas Schilling 32cb30cb84 Correctly count the number of items (rowCount is Update/Insert/Delete only) 10 years ago
Joas Schilling 577a7c92e1 Can not test the string, thanks oracle.... 10 years ago
Joas Schilling 516f7e8299 Add unit tests and automatic quoting 10 years ago