Commit Graph

3198 Commits

Author SHA1 Message Date
Alexander Makarov
e539482d88 Added failing test for #2209 2014-02-03 05:02:43 +04:00
Qiang Xue
b64f618545 refactored file validator. 2014-02-01 09:15:40 -05:00
Qiang Xue
baa78bc213 fixed test break. 2014-01-31 18:33:28 -05:00
Qiang Xue
c829dd6b47 added more tests. 2014-01-27 17:24:48 -05:00
Qiang Xue
18d7224ac8 Fixes #2149: Added yii\base\DynamicModel to support ad-hoc data validation 2014-01-27 16:13:25 -05:00
Qiang Xue
ff8e78c655 Merge branch '2048-improve-messages-config-exceptions' of github.com:nineinchnick/yii2 into nineinchnick-2048-improve-messages-config-exceptions
Conflicts:
	framework/messages/config.php
2014-01-26 17:48:44 -05:00
John Was
b2b10d1685 more unit tests for helpers/FileHelper::findFiles using new wildcard exceptions matching 2014-01-26 15:02:26 +01:00
Qiang Xue
661fe24aab Merge pull request #2137 from Ana1oliy/issue-1659
issue #1659: released buildLimitOffset() for MSSQL
2014-01-25 13:27:42 -08:00
Anatoliy Miller
9c97fe11cb issue #1659: released buildLimitOffset() for MSSQL 2014-01-24 04:10:55 +08:00
Alexander Makarov
1e602adb6e - Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
2014-01-23 20:34:46 +04:00
Ivan Pomortsev
9d986daf4f Update QueryBuilderTest.php
Comment test because it proceed an errors when tries to run at mssql and other DBMS.
2014-01-23 18:35:55 +03:00
Ivan Pomortsev
dd79325a0a Update QueryBuilderTest.php
Add test for UNION/UNION ALL function.
It could be useful to use "phpunit --group=db --filter testBuildUnion" command for run it.
2014-01-23 17:03:32 +03:00
Alexander Makarov
4a837debb3 Merge branch 'master' 2014-01-22 03:06:43 +04:00
Alexander Makarov
76705b4319 Merge branch 'master'
Conflicts:
	tests/unit/data/ar/elasticsearch/Customer.php
2014-01-22 03:06:21 +04:00
Qiang Xue
9aa006e5ea Removed implementation of Arrayable from yii\Object 2014-01-21 16:44:28 -05:00
Klimov Paul
504fc76f5c Unit test for yii\mongodb\file\ActiveRecord fixed 2014-01-21 21:39:22 +02:00
Carsten Brandt
4844886431 added schema parameter to createAbsoluteUrl() to force 'http' or 'https'
fixes #1585
2014-01-21 19:00:17 +01:00
Paul Klimov
dcf8f450f5 AssetController adjusting URLs at same line has been fixed. 2014-01-21 12:45:56 +02:00
Paul Klimov
1fd7dc66c5 Unit test for AssetController has been fixed. 2014-01-20 16:14:46 +02:00
Qiang Xue
b496a04f49 refactored fixture feature. 2014-01-19 23:17:53 -05:00
Luciano Baraglia
fe3ff6dd99 Missing codestyle fix 2014-01-19 13:39:07 -03:00
Luciano Baraglia
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
Alexander Makarov
c978b9c25e Merge pull request #2057 from creocoder/auto-timestamp-field-renaming
AutoTimestamp field renaming
2014-01-19 02:13:10 -08:00
Alexander Kochetov
0ec5643ce3 Unit tests updated 2014-01-19 13:51:56 +04:00
Qiang Xue
87be9deaf0 refactored fixture. 2014-01-18 16:18:33 -05:00
Qiang Xue
12ff86305a refactored fixture implementation. 2014-01-17 23:35:14 -05:00
Qiang Xue
106e912401 Added tests for Fixture feature. 2014-01-17 16:22:11 -05:00
Alexander Makarov
87d42e9f37 Fixed wrong namespace 2014-01-17 23:37:39 +04:00
Alexander Makarov
af385858c7 Fixed tests for elasticsearch, mongo, redis 2014-01-17 23:24:31 +04:00
Alexander Makarov
ed97632f53 Fixed scope method signatures 2014-01-17 23:01:13 +04:00
Alexander Makarov
0699eaadd5 Fixed test breaks 2014-01-17 22:33:10 +04:00
Carsten Brandt
7e961eee85 fixed test break 2014-01-16 11:50:59 +01:00
Carsten Brandt
81d23332df afterFind event in AR is now called after relations have been populated
fixes #1993
2014-01-16 10:28:58 +01:00
Paul Klimov
91c86fb704 MongoDB ActiveRecord uit test advanced to check integer value handling. 2014-01-15 11:33:58 +02:00
Paul Klimov
5d3684fd7c Unit test for MongoDB Cache advanced. 2014-01-13 16:13:21 +02:00
Paul Klimov
9ca62131f9 Merge branch 'master' of github.com:yiisoft/yii2 into mongodb-cache 2014-01-13 15:36:51 +02:00
Paul Klimov
32887edf5a MongoDB Cache class added as draft. 2014-01-13 14:41:45 +02:00
Paul Klimov
48be2bb7d1 MongoDB Session class added. 2014-01-13 12:54:18 +02:00
Luciano Baraglia
cbf649b16c Some code style fixes [skip ci] 2014-01-12 20:54:27 -03:00
Qiang Xue
e6f9aef3a9 fixed test break. 2014-01-11 22:20:33 -05:00
Qiang Xue
a8068dfe5c fixed test break. 2014-01-11 10:54:43 -05:00
Qiang Xue
442393dac9 removed failing tests. 2014-01-11 10:44:39 -05:00
Qiang Xue
7d08a09620 Fixes #1809: Added support for building "EXISTS" and "NOT EXISTS" query conditions 2014-01-11 08:35:43 -05:00
Qiang Xue
ab47d58c69 path fixes. 2014-01-10 21:58:50 -05:00
Carsten Brandt
f6530314e2 Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring
[WIP] Changed elasticsearch AR primary key handling
2014-01-10 15:56:22 -08:00
Carsten Brandt
31fece562e fixed test break 2014-01-10 15:39:06 +01:00
Carsten Brandt
5dca1257b2 reverted primaryKey of elasticsearch to be array again
meet the AR interface requirements.
2014-01-09 13:44:12 +01:00
Qiang Xue
d9dd7292db Fixed test break. 2014-01-08 23:21:44 -05:00
Qiang Xue
eb779ff6cb Fixed test break. 2014-01-08 23:03:38 -05:00
Qiang Xue
b23bade285 fixed test break. 2014-01-08 21:57:24 -05:00