Commit Graph

18 Commits

Author SHA1 Message Date
Carsten Brandt
86f17c8dad added tests classes for db related tests 2016-06-20 23:07:07 +02:00
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
2016-06-20 19:26:43 +02:00
Carsten Brandt
8d8cd1a26d adjusted dbms specific tests 2016-04-22 12:56:56 +02:00
SilverFire - Dmitry Naumenko
c9dfc90be0 Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder 2016-04-19 12:21:33 +03:00
Chris Harris
91018f6c38 Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys. 2016-02-26 12:44:20 -08:00
Chris Harris
732a51b551 All common column definitions and expected outputs now in QueryBuilderTest::columnTypes(). DbmsSpecificQueryBuilderTest::columnTypes() adds DBMS specific column definitions. 2016-02-26 03:53:05 -08:00
Chris Harris
db5399b124 Added $expectedColumnSchemaBuilder back to test data 2016-02-22 05:28:54 -08:00
Chris Harris
3761682edf Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB. 2016-02-22 04:53:14 -08:00
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). 2016-02-22 04:06:17 -08:00
Alexander Makarov
12761bf677 MSSQL does not support explicit value for an IDENTITY column #9773 2016-01-31 01:21:00 +03:00
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 2016-01-31 01:14:46 +03:00
Alexander Makarov
c36e679519 MSSQL doesn't have SUBSTR and isn't able to use expressions in ORDER BY and GROUP BY 2016-01-31 01:01:40 +03:00
Alexander Makarov
5cecb09c1b Fixes #9443: Added unsigned() to ColumnSchemaBuilder 2015-12-26 15:20:21 +03:00
Alexander Makarov
615a29f04e More fixes for MSSQL tests 2015-12-09 03:07:32 +03:00
Edgard Lorraine Messias
7c9b7c77a7 Added tests for dropTable, truncateTable and renameTable 2015-11-20 16:16:44 +03:00
Edgard Lorraine Messias
2d8106a39c Fixed testCreateTable and testAlterTable in CommandTest for MSSQL and OCI 2015-10-21 00:19:48 +03:00
Matvey Vasenin
d801ca3c90 add mssql support (need test) 2015-08-19 16:42:44 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00