Commit Graph

17 Commits

Author SHA1 Message Date
John Was
4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
2015-03-29 21:57:13 +02:00
pana1990
db8a6104b9 Deleted spaces [skip ci] 2015-03-06 10:45:41 +01:00
Carsten Brandt
0300683bfc improved db test, avoid error by accessing db directlry
always use getConnection()
2015-01-10 22:08:42 +01:00
Qiang Xue
a5b06b3468 Mark tests with problematic DBMS as skipped. 2014-09-06 20:22:28 -04:00
Qiang Xue
a082fd9140 Added test. 2014-07-12 12:53:12 -04:00
Qiang Xue
65987f62ae test WIP 2014-07-12 10:38:51 -04:00
Alexander Makarov
905e39ede9 RBAC migration is now aware of custom table names, speeded up RBAC tests 2014-05-07 00:19:33 +04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Alexander Mohorev
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
Alexander Makarov
8c1c3c59d9 Better AR connection init in tests 2013-10-15 01:39:19 +04:00
Alexander Makarov
d75ad87e06 Merge branch 'add-tests' of github.com:suralc/yii2 into suralc-add-tests
Conflicts:
	framework/yii/validators/RegularExpressionValidator.php
2013-10-15 01:31:59 +04:00
Carsten Brandt
544e412af8 unit test cleanup 2013-09-06 15:03:25 +02:00
Carsten Brandt
d6ff097cbb avoid hanging test on bindValue problems (close db connection in tearDown) 2013-09-06 10:28:10 +02:00
Suralc
5c8927af7d Added ExistValidatorTest and added new option to DatabaseTestCase 2013-08-17 00:40:45 +02:00
Qiang Xue
f2e57b2eec Fixed test breaks. 2013-07-02 22:19:05 -04:00
Gevik Babakhani
4602b575ad Save point: WIP implementing db schema functionality. 2013-05-29 17:44:53 +02:00
Alexander Makarov
7cd9123c3b Tests cleanup
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
2013-05-24 18:35:00 +04:00