Commit Graph

2875 Commits

Author SHA1 Message Date
Alexander Makarov
54ccd388fe Added tests for Nav and Dropdown 2015-02-24 14:17:03 +03:00
tom--
4512833fac Fixes #7215: Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward 2015-02-24 14:03:41 +03:00
Qiang Xue
a3ea7b774d Fixes #7350: Added yii\helpers\Html::$dataAttributes to support customizing data attributes. 2015-02-23 21:30:45 -05:00
Qiang Xue
e56bf03130 Fixed test break. 2015-02-22 19:33:23 -05:00
Alexander Makarov
00aafc82ef Fixes #7258: Response was sending HTML content type when formatter was set to JSON or XML, nulls were handled wrong 2015-02-21 02:32:09 +03:00
Alexander Makarov
106d6d5e4c Added JsonResponseFormatterTest 2015-02-21 01:57:10 +03:00
Alexander Makarov
c74ea7d54c Fixes #7326: Fixed CollapseTest to run properly on Windows 2015-02-18 12:38:49 +03:00
Qiang Xue
8c444d407b Fixed test break. 2015-02-15 22:49:21 -05:00
Qiang Xue
dd15857eda Fixed test break. 2015-02-15 22:44:42 -05:00
Jose Lorente
98759201ac Fixed bug #7271. Classes that call '*::populateRecord()' after retrieving data from ddbb call now the method on the class of the model returned by '*::instantiate()'. Tests for mysql, elasticsearch and mongodb attached. 2015-02-15 17:25:43 -05:00
Alexander Makarov
c80da0722e Fixed more tests on Windows failing because of line endings 2015-02-15 20:18:18 +03:00
Alexander Makarov
a831271d29 Moved assertEqualsWithoutLE() to \yiiunit\TestCase, fixed some test failures on Windows 2015-02-15 13:03:08 +03:00
Qiang Xue
d188dd10c0 Fixes #3168: Improved the performance of yii\rbac\DbManager::checkAccess() by caching mechanism 2015-02-12 21:29:00 -05:00
pana1990
f85e8f9901 Added group for bootstrap tests
close #7126
2015-02-01 21:13:14 +01:00
Jan Waś
1e5f159f78 override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery 2015-01-31 22:20:41 -05:00
Jan Waś
f58d096920 fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql 2015-01-31 22:20:41 -05:00
Alexander Makarov
51ace2861c Added test for using source language for missing translation formatting 2015-01-31 01:32:20 +03:00
Alexander Makarov
7e868555c5 Closes #7093 2015-01-31 00:58:56 +03:00
Carsten Brandt
754660ef7b added urlmanager test for default action 2015-01-30 21:58:39 +01:00
Alexander Makarov
e9c08c675c Merge pull request #7081 from pana1990/add-test-collapse
Added to test for Collapse class
2015-01-30 23:53:19 +03:00
Klimov Paul
6e50783ea4 yii\mongodb\Query::select now allows excluding fields 2015-01-30 12:34:19 +02:00
Carsten Brandt
e5e48cd484 added test for Json::encode() and JsonSerializable
close #7084
2015-01-29 19:52:53 +01:00
Klimov Paul
5bda2fe073 yii\console\controllers\AssetController now correctly handles relative image URLs if source and target CSS are under same directory 2015-01-29 15:44:05 +02:00
pana1990
bf4a35a2a4 Added to test for Collapse class 2015-01-29 12:40:12 +01:00
Qiang Xue
5ab1d1a0d1 Fixes #6992. 2015-01-24 08:57:53 -05:00
Ivan Lemeshev
5ab58ac15b Fixes #6991: Fixed exception when using {use class='yii\bootstrap\Nav' type='function'} 2015-01-24 12:34:30 +03:00
Qiang Xue
fe19243da1 Fixes #6969: yii\helpers\ArrayHelper::htmlEncode() and htmlDecode() should not remove non-string data 2015-01-22 21:09:46 -05:00
Qiang Xue
52f4006c11 Fixed Url::current() implementation. 2015-01-11 10:43:06 -05:00
Alexander Makarov
9c7e4e514d Fixes #6697: Added yii\helpers\Url::current() method that allows adding or removing parameters from current URL 2015-01-11 15:38:13 +08:00
Alexander Makarov
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00
Carsten Brandt
aa9fe57fd7 removed date that is not well defined from tests 2015-01-10 23:02:17 +01:00
Carsten Brandt
ec1e8e94ee Updated travis 2015-01-10 22:50:47 +01:00
Carsten Brandt
802c384551 let travis show some information on versions 2015-01-10 22:40:21 +01:00
Carsten Brandt
9ff9cab67f ensure gii tests fail on error and not just print_r 2015-01-10 22:31:19 +01:00
Carsten Brandt
6f889e12ac Merge PR #6763 branch 'creocoder-incorrect-checking-sqlite-version'
* creocoder-incorrect-checking-sqlite-version:
  improved db test, avoid error by accessing db directlry
  fixed failure on sqlite version check
  Correct SQLite version checking
2015-01-10 22:10:10 +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
Carsten Brandt
f177f1701a fixed failure on sqlite version check
ensure PDO instance has been created at this point
2015-01-10 22:06:43 +01:00
Carsten Brandt
08531312ef fixed HHVM test break
always use unique directory for each test
2015-01-10 20:47:17 +01:00
Carsten Brandt
03351ccba3 added explicit test for the Y2K38 problem
http://en.wikipedia.org/wiki/Year_2038_problem
2015-01-10 18:37:43 +01:00
Carsten Brandt
2a19b3caa0 fixed whitespace in tests 2015-01-10 18:37:43 +01:00
Carsten Brandt
9415c7921d date formatter fall back to PHP impl. to solve Y2K38 issue
formatting date and time values for years >=2038 or <=1901 is now possible also with intl extension is
installed. 32bit systems will fall back to the PHP implementation because intl uses a 32bit UNIX timestamp internally.
On a 64bit system the intl formatter is used in all cases if installed.

fixes #5577
2015-01-10 18:27:35 +01:00
Carsten Brandt
05cc9ae405 improved HTML to Text fallback in BaseMailer
fixes #6748
2015-01-10 15:07:12 +01:00
Klimov Paul
b3c6d70cda Unit test for yii\console\controllers\AssetController advanced 2015-01-06 17:54:20 +02:00
Klimov Paul
94f702fe6e yii\console\controllers\AssetController now handles bundle files from external resources properly 2015-01-06 17:03:39 +02:00
Carsten Brandt
b7c315f3d6 skip requirements checker test on HHVM 2015-01-06 01:35:08 +01:00
Qiang Xue
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00
Carsten Brandt
792746883e urlManager: ensure route is trimmed by / on empty pattern
fixes #6717
2015-01-01 17:06:12 +01:00
Qiang Xue
cc3209cf26 Fixes #4502: Added alias support to URL route when calling Url::toRoute() and Url::to() 2014-12-29 19:26:44 -05:00
pana1990
7aae667e28 Fixes #6618: Added Model::addErrors() 2014-12-26 23:05:59 +03:00
Qiang Xue
166cb99be0 Fixes #6632: yii\di\Container::get() did not handle config parameter correctly when it is passed as a constructor parameter 2014-12-24 10:19:34 -05:00