Alexander Makarov
a626440761
Reverted #13822 , clarified exception descriptions
8 years ago
Pavel Dovlatov
7e1a050a16
Fixes #13821 : fixed docs and added more tests for Url helper
8 years ago
Kolyunya
a35eada199
Fix tests of a web response
8 years ago
Nikolay Oleynikov
ea75068a92
Fixes #13813 : Fixed PHP 7 compatibiltiy by adding support for passing instances of `Error` to the `yii\web\Response::setStatusCodeByException()`
8 years ago
Nikolay Oleynikov
558f2aa02a
Fixes #13827 Generate "safe" methods uncommented by default
8 years ago
Nikolay Oleynikov
7a2f04ae32
Fixes #13822 : Fixed `yii\web\User::loginRequired()` to throw an `UnauthorizedHttpException` instead of a `ForbiddenHttpException`
8 years ago
SilverFire - Dmitry Naumenko
9d6c4bd41b
Enhanced PHPUnit 6 compatibility
8 years ago
Nikolay Oleynikov
cf4eea1878
Fixes #13823 : Refactored migrations template
8 years ago
Klimov Paul
01dc29705f
Fixed compatibility with PHPUnit 6.x
8 years ago
Alexander Makarov
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.
8 years ago
Skiptir Engu
a600e165aa
Added RadiobuttonColumnTest to the grid test group ( #13795 )
8 years ago
usix298
13c2f5370f
Fixed formatting in tests [skip ci]
8 years ago
Artur Fursa
1b322f519f
Fixes #13776 : Fixed setting precision and scale for decimal columns in MSSQL
8 years ago
vladis84
3c1f3e20cf
Fixes #13704 : Fixed `yii\validators\UniqueValidator` to prefix attribute name with model's database table name
8 years ago
Vladislav Lyshenko
b00cd65ef3
Fixes #13738 : Fixed `getQueryParams()` method in `yii.js` to correctly parse URL with question mark and no query parameters
8 years ago
Alexander Makarov
bc59d5da85
Fixes #13707 : Fixed `\yii\web\ErrorHandler` and `\yii\web\ErrorAction` not setting correct response code to response object before rendering error view
8 years ago
Sam
b238afacee
Fixes #4408 : Add support for unicode word characters and `+` character in attribute names
8 years ago
Sam
9459eaa277
Fixes #10372 : Fixed console controller including complex typed arguments in help
8 years ago
Alexander Makarov
18b3fa10c5
Fixed ICU tests take varieties of data into account ( #13751 )
8 years ago
Alexander Makarov
3f8e8a89eb
Used more specific unit test assertions in framework tests
8 years ago
gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
8 years ago
gagatust
b32db9fb28
Fixed path in unit tests README.md [skip ci]
8 years ago
Sergey Makinen
a9fb0171f7
Fixes #13745 : `SQLSTATE[HY093]: Invalid parameter number: parameter was not defined` in MSSQL and bug fixes in `yii\db\QueryBuilder::buildLikeCondition()`
8 years ago
gagatust
2c9278391c
Used short syntax for arrays ( #13743 )
8 years ago
Bizley
c5296242b1
Fixes #13698 : `yii\grid\DataColumn` filter is automatically generated as dropdown list in case of `format` set to `boolean`
8 years ago
Vladimir
55dd16f1f7
Fixes #12715 : Exception `SAVEPOINT LEVEL1 does not exist` instead of deadlock exception
8 years ago
Tobias Munk
acf7c8592a
moved Dockerfile(s) to test folders
8 years ago
Kolyunya
f9041646dd
Improve string validator test coverage
8 years ago
Nikolay Oleynikov
1cb1a978f2
Remove imports of inexistent classes
8 years ago
SilverFire - Dmitry Naumenko
5e422fd27d
Fixed InstanceTest::testRestoreAfterVarExport() to work on HHVM
8 years ago
SilverFire - Dmitry Naumenko
bfa2390d5a
Added `yii\di\Instance::__set_state()` method
8 years ago
Robert Korulczyk
c8a323af81
Remove UrlRule::$trailingSlashForDefaults property.
8 years ago
SilverFire - Dmitry Naumenko
af612f47d1
Addded pluralization and singularization exception for `currency`
8 years ago
sam002
a350b34c1b
Fixes additional case for #13657 which wasn't covered by tests
8 years ago
Daniel Gómez Pan
73ddf2e65e
Fixes #13670 : Fixed alias option from console when it includes `-` or `_` in option name
8 years ago
Alexey Rogachev
cdb21d7e2c
Added JS tests for # #13379
8 years ago
sam002
c78b9e470d
Fixes #13657 : Fixed `yii\helpers\StringHelper::truncateHtml()` skip extra tags at the end
8 years ago
Nikolay Oleynikov
f47b6c7683
Fixes #7946 Fixed a bug when the `form` attribute was not propagated to the hidden input of the checkbox
8 years ago
Nikolay Oleynikov
148007ffd6
Refactor HTML helper attribute order ( #13665 )
8 years ago
Dmitry Naumenko
7206b2ba8a
Added assertion in UrlRuleTest to verify #13656
8 years ago
Alex-Code
a719293ab0
Fixes #13649 : Fixes issue where `['uncheck' => false]` and `['label' => false]` options for `ActiveRadio` and `ActiveCheckbox` were ignored
8 years ago
Alexey Rogachev
186420da40
Fixes #13243 : Added support for unicode attribute names in `yii\widgets\DetailView`
8 years ago
Sergey Makinen
9a915ba10c
Fixes #8120 : Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in `yii\db\QueryBuilder`
8 years ago
Alex
6db6a2ddbe
Fixes #13418 : Fixed `QueryBuilder::batchInsert()` if $rows is `\Generator`
8 years ago
Nagy Attila Gábor
8582dc93f3
Added unit tests for role based access filter ( #13597 )
8 years ago
Elvira Sheina
2de18cf9a5
Fixes #13087 : Fixed getting active validators for safe attribute
8 years ago
Andrew Nester
953c4a8e5a
Fixes #13407 : Added URL-safe base64 encode/decode methods to `StringHelper`
8 years ago
SilverFire - Dmitry Naumenko
b4c7aaa5e0
Added more examples to EmailValidatorTest
...
Closes #9201
Closes #9067
8 years ago
SilverFire - Dmitry Naumenko
1dc4618f3d
Fixed `MessageConstroller::saveMessagesToDb()` to work on different DBMS correctly
...
Closes #13494
8 years ago
SilverFire - Dmitry Naumenko
e9a96ee834
Replced InvalidParamException with \yii\console\Exception in Request::resolve()
8 years ago