Commit Graph

91 Commits

Author SHA1 Message Date
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
Qiang Xue
fb8e818204 Dropped support for supporting default namespace for classes of related models. 2013-10-21 23:55:20 -04:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Alexander Makarov
24bc980da4 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Carsten Brandt
61fe888780 Merge branch 'master' into i18n-icu
* master: (103 commits)
  fixed broken test after whitespace changes in view
  Removed the extra EOLs.
  I add new line in methods that render code in the head and for body
  GII update button style
  GII create object button style [skip ci]
  Fixes #980: Changed the default way of generating action URLs for ActionColumn.
  View default value for $params
  adjusted cubrid version in schema quote
  removed cubrid env from tavis.yml
  simplified cubrid db install on travis
  fixed cubrid schema test for pdo type
  fixed validator test break
  added cubrid specific pdo type casting
  Updated FileValidator tests
  Better AR connection init in tests
  Removed @codeCoverageIgnore
  no xss for attribute error messages that contain {value}
  Clientvalidation {value} was not what has been validated
  moved getPdoType() to Schema.
  optimized datepick js code.
  ...
2013-10-16 22:04:17 +02:00
Carsten Brandt
bbcee326be adjusted I18N to be consistent with intl message formatting 2013-10-16 15:59:39 +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
f974e1a59f fixed validator test break 2013-10-15 04:43:52 +02: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
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
Carsten Brandt
df6176edb6 added unit test for Model::load() 2013-09-18 23:43:46 +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
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
164c70eebc Add support for composite FK to cubrid 2013-09-06 15:32: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
825258efb8 cubrid unit tests WIP 2013-09-05 18:23:25 +02:00
Suralc
06682d0ba9 coverage improvements 2013-08-24 00:31:01 +02:00
Suralc
24e2f88503 Renamed validator test models to be less specific. 2013-08-23 22:47:45 +02:00
Suralc
5c8927af7d Added ExistValidatorTest and added new option to DatabaseTestCase 2013-08-17 00:40:45 +02:00
Suralc
02c92fea93 Merge remote-tracking branch 'upstream/master' into add-tests 2013-08-13 19:03:10 +02:00
Suralc
bae79cd76c Added ValidatorTest 2013-08-13 19:01:53 +02:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Suralc
a81480d309 Improved ValidatorTest organization. 2013-08-06 19:56:05 +02:00
Qiang Xue
3d5388ff2b Reorganized captcha code. 2013-08-03 07:20:39 -04:00
Qiang Xue
f14774dfb6 Fixes issue #276: Enable Response::sendFile() to operate on resources 2013-06-10 16:37:35 -04:00
gevik
f667b5785b - Added drop/add primary key methods to Command.php
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
2013-06-09 18:27:09 +02:00
gevik
b6d5a9002b Removed the config setting that should not have been commited. 2013-06-07 23:01:01 +02:00
Gevik Babakhani
0fd390cac5 Replaces spaces with tabs. 2013-06-06 21:19:17 +02:00
Gevik Babakhani
3d79d992c4 Merge remote branch 'upstream/master' into pgsql-driver 2013-06-05 11:35:38 +02:00
Carsten Brandt
e94cc6bb9e unit test for UrlManager RESTful routing syntax
removed test param 'appClass' as it does not make sense to configure
application class for all tests, some explicitly need webapp where
some might explicitly need console app.
2013-06-03 09:33:16 +02:00
Gevik Babakhani
18218c4132 Removed unused columns. 2013-06-01 12:37:47 +02:00
Gevik Babakhani
97270a389a Savepoint, implementing fkeys. 2013-05-31 14:25:56 +02:00
Gevik Babakhani
103621ad05 Savepoint: WIP implementing columns 2013-05-30 16:53:57 +02:00
Gevik Babakhani
4602b575ad Save point: WIP implementing db schema functionality. 2013-05-29 17:44:53 +02:00
Gevik Babakhani
c30eae62d2 Added initial unit testing files for the pgsql driver. 2013-05-29 00:01:02 +02:00
resurtm
8e1079cd04 MSSQL more tests. 2013-05-23 23:33:33 +06:00
resurtm
cdcb8e513c Merge upstream/master into upstream/mssql. 2013-05-22 19:28:11 +06:00
Carsten Brandt
3bdb6c3110 fixed indentation in test files 2013-05-11 12:54:13 +02:00