Commit Graph

420 Commits

Author SHA1 Message Date
Carsten Brandt
e574f10c8c fixed broken test after whitespace changes in view 2013-10-16 20:28:07 +02:00
Carsten Brandt
28d9ee7c31 adjusted cubrid version in schema quote 2013-10-15 05:47:55 +02:00
Carsten Brandt
c1b6521d31 simplified cubrid db install on travis 2013-10-15 05:12:50 +02:00
Carsten Brandt
a1e5fa356e fixed cubrid schema test for pdo type 2013-10-15 04:53:33 +02:00
Carsten Brandt
f974e1a59f fixed validator test break 2013-10-15 04:43:52 +02:00
Carsten Brandt
598d01287b added cubrid specific pdo type casting
cubrid pdo does not support PARAM_BOOL so we cast the value to integer
and store 0 and 1 instead

fixes #964
2013-10-15 03:37:46 +02:00
Alexander Makarov
32865c7ddc Updated FileValidator tests 2013-10-15 01:48:05 +04:00
Alexander Makarov
8c1c3c59d9 Better AR connection init in tests 2013-10-15 01:39:19 +04:00
Alexander Makarov
5cf9992251 Removed @codeCoverageIgnore 2013-10-15 01:32:23 +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
Qiang Xue
8899aaeb5b moved getPdoType() to Schema. 2013-10-14 08:28:56 -04:00
Carsten Brandt
a922c41ee6 more asset bundle tests and docs 2013-10-11 02:14:59 +02:00
Carsten Brandt
abc1e0c2bb fix issue #700
adjust depended asset position or throw exception on conflict
2013-10-11 01:54:05 +02:00
Carsten Brandt
0c113faf62 added unit test for asset bundles 2013-10-11 01:13:32 +02:00
Qiang Xue
8bff031fc2 Fixed the issue that dots in URL rules would match any character. 2013-10-10 11:23:20 -04:00
Qiang Xue
fceb2d6e21 Fixes #957: Json::encode() doesn't handle empty object correctly. 2013-10-09 20:33:06 -04:00
Carsten Brandt
3f88320595 second try to fix random memcache failure on travis
issue #877
2013-10-02 12:27:04 +02:00
Qiang Xue
0035f23781 refactored data providers. 2013-10-01 21:35:35 -04:00
Jin Hu
5d7c37bd7e Incorrect array representation when has previous 2013-09-29 23:27:14 +08:00
Jin Hu
d9b256d734 Fixed pagination not working before data loaded 2013-09-26 20:29:59 +08:00
Carsten Brandt
f3504f426d fix test fail when not on travis 2013-09-25 13:00:13 +02:00
Carsten Brandt
9542fd24d4 try to fix: memcache testExpire fails randomly on travis
issue #877
2013-09-25 12:58:27 +02:00
Qiang Xue
463ff43b4f test break fix. 2013-09-20 16:39:22 -04:00
Carsten Brandt
df6176edb6 added unit test for Model::load() 2013-09-18 23:43:46 +02:00
Carsten Brandt
128ee07b78 100% test coverage for CacheSession 2013-09-18 22:54:11 +02:00
Carsten Brandt
bd2404f1c6 added simple unit test for CacheSession 2013-09-18 22:46:43 +02:00
Carsten Brandt
3a347c3587 added property docs to AR test classes 2013-09-18 16:30:00 +02:00
Carsten Brandt
ef13a11f66 moved getPDOType() back to Command to avoid dependency on Schema
fixes #854
2013-09-18 16:29:16 +02:00
Carsten Brandt
0a5b1a935e simplified memcache installation on travis 2013-09-14 12:57:45 +02:00
Carsten Brandt
a1af321d38 fixed typo in apc install script 2013-09-14 12:56:10 +02:00
Carsten Brandt
34ebe65cf5 added apc,redis and memcache(d) to travis 2013-09-14 12:50:16 +02:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Carsten Brandt
41bd9ab7a8 added memcache and apc to travis 2013-09-14 12:23:06 +02:00
Carsten Brandt
f6f2522ad6 added travis README from yii 1.1 2013-09-14 12:12:20 +02:00
Carsten Brandt
69a38d1895 added cubrid_pdo to travis 2013-09-14 12:07:04 +02:00
Carsten Brandt
eb5bf2dabe added cubrid dbms to travis-ci
copied from
056e734ce3/.travis.yml
2013-09-14 11:33:07 +02:00
Carsten Brandt
d3740932a4 fixed broken cubrid tests
fixed expected quoting
2013-09-14 11:12:48 +02:00
Qiang Xue
6c6cb3cd90 Fixes #853: Added composite FK support for SQLite. 2013-09-13 20:41:40 -04:00
Qiang Xue
02fd82c42a Fixed build break. 2013-09-13 20:19:50 -04:00
Qiang Xue
6fe152da7e Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords. 2013-09-13 20:13:46 -04:00
Qiang Xue
91b6e2945a Removed the support for calling anonymous function returned as a property value. 2013-09-12 20:10:06 -04:00
Carsten Brandt
164c70eebc Add support for composite FK to cubrid 2013-09-06 15:32:33 +02:00
Carsten Brandt
8abeed03bd added SchemaTest 2013-09-06 15:03:57 +02:00
Carsten Brandt
544e412af8 unit test cleanup 2013-09-06 15:03:25 +02:00
Carsten Brandt
e996f3dfd5 Workaround for broken PDO::quote() in CUBRID 9.1.0
http://jira.cubrid.org/browse/APIS-658
2013-09-06 13:53:33 +02:00
Carsten Brandt
58f8293b84 custom bindValue test for cubrid 2013-09-06 13:24:36 +02:00
Carsten Brandt
791f9d3f4e better use int for boolean representation
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
2013-09-06 13:21:35 +02:00
Carsten Brandt
d6ff097cbb avoid hanging test on bindValue problems (close db connection in tearDown) 2013-09-06 10:28:10 +02:00
Carsten Brandt
825258efb8 cubrid unit tests WIP 2013-09-05 18:23:25 +02:00
Carsten Brandt
15a3ec2764 added unit tests and call to $behavior->hasMethod in Component 2013-08-31 23:27:52 +02:00