SilverFire - Dmitry Naumenko
2d0e3fb9ef
Fixed Oracle SQL queries with `IN` condition and more than 1000 parameters
8 years ago
Sergey Makinen
a9fb0171f7
Fixes #13745 : `SQLSTATE[HY093]: Invalid parameter number: parameter was not defined` in MSSQL and bug fixes in `yii\db\QueryBuilder::buildLikeCondition()`
8 years ago
Sergey Makinen
9a915ba10c
Fixes #8120 : Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in `yii\db\QueryBuilder`
8 years ago
Bob Olde Hampsink
56c65f6079
Fixes #13577 : Implemented `yii\db\mssql\QueryBuilder::resetSequence()`
8 years ago
SilverFire - Dmitry Naumenko
df733d1bbe
Fixed QueryBuilderTest
8 years ago
SilverFire - Dmitry Naumenko
2f8225a244
Fixed QueryBuilderTest to work with PgSQL and other DBMS
8 years ago
Alexander Makarov
41b3f0db0b
Fixed driver name in MSSQL test
8 years ago
Carsten Brandt
24809c5d73
fixed group annotations for #12889
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
560e3eb0a3
Unit tests created for ActiveQuery ( #12889 )
...
* setup ActiveQueryTest
* basic unit tests for ActiveQuery are created:
- all protected & public methods are covered
- method return types are tested
- some functions are already full tested, others are supplied with @todo
* fix driver for mssql
* fix ::class to className()
* remove OCI tests
8 years ago
Alexander Makarov
01c4dde202
Added tests for column schema builder comment() method
8 years ago
Carsten Brandt
86f17c8dad
added tests classes for db related tests
8 years ago
Carsten Brandt
8ba032d147
refactored database tests
...
- changed test class naming for easier copying and searching of classes
- made base tests abstract and made MySQL an equal citisen in the test
hierarchie
- added missing db specific test classes
8 years ago
Carsten Brandt
8d8cd1a26d
adjusted dbms specific tests
9 years ago
Chris Harris
91018f6c38
Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys.
9 years ago
Chris Harris
732a51b551
All common column definitions and expected outputs now in `QueryBuilderTest::columnTypes()`. `DbmsSpecificQueryBuilderTest::columnTypes()` adds DBMS specific column definitions.
9 years ago
Chris Harris
db5399b124
Added `$expectedColumnSchemaBuilder` back to test data
9 years ago
Chris Harris
3761682edf
Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB.
9 years ago
Chris Harris
81ff4752d9
Added CHECK modifier to PK schema pattern. Modified UNSIGNED tests to not include modifier by default (i.e. only present when testing DBMSes that support it).
9 years ago
Alexander Makarov
12761bf677
MSSQL does not support explicit value for an IDENTITY column #9773
9 years ago
Alexander Makarov
e6f1179b62
Fixed MSSQL expected test result: we're adding ORDER BY (SELECT NULL) to limit and order queries and query params are empty array by default
9 years ago
Alexander Makarov
c36e679519
MSSQL doesn't have SUBSTR and isn't able to use expressions in ORDER BY and GROUP BY
9 years ago
Alexander Makarov
5cecb09c1b
Fixes #9443 : Added `unsigned()` to `ColumnSchemaBuilder`
9 years ago
Alexander Makarov
615a29f04e
More fixes for MSSQL tests
9 years ago
Edgard Lorraine Messias
7c9b7c77a7
Added tests for dropTable, truncateTable and renameTable
9 years ago
Edgard Lorraine Messias
2d8106a39c
Fixed testCreateTable and testAlterTable in CommandTest for MSSQL and OCI
9 years ago
Matvey Vasenin
d801ca3c90
add mssql support (need test)
9 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago