04a14efd3f
compatibility with PHPUnit 6.x fix
2017-04-13 15:29:10 +03:00
b0b55472da
yii\caching\Cache::getOrSet() now supports both Closure and callable
...
Closes #13981
2017-04-13 15:07:30 +03:00
15561b7a2c
unit test fix
2017-04-13 14:56:03 +03:00
dee88787fc
compatibility with PHPUnit 6.x added
2017-04-13 14:49:43 +03:00
5d4a7a588d
compatibility for PHPUnit adjusted
2017-04-13 11:44:25 +03:00
5faa0032cb
added more assertations for security masking tests
2017-04-04 10:47:48 +02:00
892512feba
Fixes #13560 : Refactored \yii\widgets\FragmentCache::getCachedContent(), added tests
2017-04-02 02:40:52 +03:00
8ae207c3a1
Fixes #13837 : Refactored masking of CSRF tokens
2017-04-02 02:10:16 +03:00
514b29d55d
Fixes #13369 : Added ability to render current yii\widgets\LinkPager page disabled
2017-04-02 00:54:00 +03:00
ae7378974e
Fixes #13376 : Data provider now automatically sets an ID so there is no need to set it manually in case multiple data providers are used with pagination
2017-04-01 18:27:27 +03:00
4e9497c4fa
Fixes #13770 : Added support for yii\widgets\Menu item classes definition in the form of an array
2017-04-01 16:57:17 +03:00
79f16b1492
Fixes #13883 : \yii\data\SqlDataProvider now provides automatic fallback for the case when totalCount is not specified
2017-04-01 16:37:25 +03:00
a626440761
Reverted #13822 , clarified exception descriptions
2017-03-30 16:50:18 +03:00
7e1a050a16
Fixes #13821 : fixed docs and added more tests for Url helper
2017-03-23 17:35:47 +03:00
a35eada199
Fix tests of a web response
2017-03-23 09:27:06 +03:00
ea75068a92
Fixes #13813 : Fixed PHP 7 compatibiltiy by adding support for passing instances of Error to the yii\web\Response::setStatusCodeByException()
2017-03-23 01:20:42 +03:00
558f2aa02a
Fixes #13827 Generate "safe" methods uncommented by default
2017-03-23 00:53:14 +03:00
7a2f04ae32
Fixes #13822 : Fixed yii\web\User::loginRequired() to throw an UnauthorizedHttpException instead of a ForbiddenHttpException
2017-03-23 00:18:39 +03:00
9d6c4bd41b
Enhanced PHPUnit 6 compatibility
2017-03-22 19:33:58 +02:00
cf4eea1878
Fixes #13823 : Refactored migrations template
2017-03-22 18:28:33 +03:00
01dc29705f
Fixed compatibility with PHPUnit 6.x
2017-03-18 22:08:32 +03:00
cc44339a45
Improved intl tests to tolerate ICU data differences
...
- Added new assertion.
- Adjusted tests not to rely on intl version allowing multiple valid variants for Russian and Ukrainian currencies and transliteration.
2017-03-18 10:53:43 +03:00
a600e165aa
Added RadiobuttonColumnTest to the grid test group ( #13795 )
2017-03-18 00:17:42 +03:00
13c2f5370f
Fixed formatting in tests [skip ci]
2017-03-18 00:13:08 +03:00
1b322f519f
Fixes #13776 : Fixed setting precision and scale for decimal columns in MSSQL
2017-03-16 19:38:56 +03:00
3c1f3e20cf
Fixes #13704 : Fixed yii\validators\UniqueValidator to prefix attribute name with model's database table name
2017-03-16 17:42:31 +03:00
b00cd65ef3
Fixes #13738 : Fixed getQueryParams() method in yii.js to correctly parse URL with question mark and no query parameters
2017-03-16 14:15:05 +03:00
bc59d5da85
Fixes #13707 : Fixed \yii\web\ErrorHandler and \yii\web\ErrorAction not setting correct response code to response object before rendering error view
2017-03-16 12:03:23 +03:00
b238afacee
Fixes #4408 : Add support for unicode word characters and + character in attribute names
2017-03-15 16:19:06 +03:00
9459eaa277
Fixes #10372 : Fixed console controller including complex typed arguments in help
2017-03-15 15:47:21 +03:00
18b3fa10c5
Fixed ICU tests take varieties of data into account ( #13751 )
2017-03-14 09:47:56 +03:00
3f8e8a89eb
Used more specific unit test assertions in framework tests
2017-03-14 09:45:31 +03:00
6397791513
Fixed whitespaces to match code style [skip ci]
2017-03-14 09:42:13 +03:00
b32db9fb28
Fixed path in unit tests README.md [skip ci]
2017-03-13 14:49:45 +03:00
a9fb0171f7
Fixes #13745 : SQLSTATE[HY093]: Invalid parameter number: parameter was not defined in MSSQL and bug fixes in yii\db\QueryBuilder::buildLikeCondition()
2017-03-11 22:36:01 +03:00
2c9278391c
Used short syntax for arrays ( #13743 )
2017-03-11 01:44:05 +03:00
c5296242b1
Fixes #13698 : yii\grid\DataColumn filter is automatically generated as dropdown list in case of format set to boolean
2017-03-09 00:33:13 +03:00
55dd16f1f7
Fixes #12715 : Exception SAVEPOINT LEVEL1 does not exist instead of deadlock exception
2017-03-07 22:58:46 +03:00
ff4cde18d4
Merge branch 'master' into feature/docker-testing
2017-03-06 15:50:56 +01:00
acf7c8592a
moved Dockerfile(s) to test folders
2017-03-06 14:16:15 +01:00
f9041646dd
Improve string validator test coverage
2017-03-05 14:27:13 +03:00
1cb1a978f2
Remove imports of inexistent classes
2017-03-02 20:49:31 +03:00
5e422fd27d
Fixed InstanceTest::testRestoreAfterVarExport() to work on HHVM
2017-03-02 12:58:08 +02:00
bfa2390d5a
Added yii\di\Instance::__set_state() method
2017-03-01 19:29:30 +02:00
c8a323af81
Remove UrlRule::$trailingSlashForDefaults property.
2017-03-01 12:12:37 +01:00
a79e4e8128
Merge branch 'master' into 13614-add-a-failing-test-for-url-rule
2017-03-01 12:09:13 +01:00
af612f47d1
Addded pluralization and singularization exception for currency
2017-02-28 15:59:10 +02:00
a350b34c1b
Fixes additional case for #13657 which wasn't covered by tests
2017-02-28 16:52:09 +03:00
73ddf2e65e
Fixes #13670 : Fixed alias option from console when it includes - or _ in option name
2017-02-28 16:39:03 +03:00
058d2f6ef6
Merge branch 'master' into 13379-js-tests
2017-02-28 01:02:09 +06:00