Ilya Rogov
0d9cd0ccd7
Add test coverage of yii\helpers\BaseJson ( #14217 )
7 years ago
Ilya Rogov
b07f2018de
Add test coverage of yii\helpers\BaseMarkdown ( #14223 )
7 years ago
Ilya Rogov
21a7a68e45
Add test coverage of yii\helpers\BaseArrayHelper ( #14205 )
7 years ago
Carsten Brandt
3e79d56447
made AssetBundle tests less cryptic
...
cleanup step was added in setUp() so this will still work.
split test functions filehelper test
7 years ago
Carsten Brandt
5e8e6840b6
Added copyEmptyDirectories option to FileHelper
...
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
7 years ago
Carsten Brandt
d786b78f25
Helper independent ( #14050 )
...
* Made sure most helpers are independent of Yii::$app
* Made sure most validators are independent of Yii::$app
8 years ago
Alexander Makarov
7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper
8 years ago
vladis84
8474927a55
Fixed ambiguous error sql while using unique validator
8 years ago
Klimov Paul
d8e6a89af9
fixed tests without assettions
8 years ago
Klimov Paul
dee88787fc
compatibility with PHPUnit 6.x added
8 years ago
Pavel Dovlatov
7e1a050a16
Fixes #13821 : fixed docs and added more tests for Url helper
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
Sam
b238afacee
Fixes #4408 : Add support for unicode word characters and `+` character in attribute names
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
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
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
Alex-Code
a719293ab0
Fixes #13649 : Fixes issue where `['uncheck' => false]` and `['label' => false]` options for `ActiveRadio` and `ActiveCheckbox` were ignored
8 years ago
Andrew Nester
953c4a8e5a
Fixes #13407 : Added URL-safe base64 encode/decode methods to `StringHelper`
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Nikolay Oleynikov
e8f8ba2129
Remove excessive `use` statement ( #13604 )
8 years ago
Nikolay Oleynikov
a26d28f8e3
Fixes #13576 : Added support of `srcset` to `yii\helpers\Html::img()`
8 years ago
Klimov Paul
194577c55e
Code style fix
8 years ago
Carsten Brandt
c4857176ac
added test for ArrayHelper::multisort() with closure key
...
related to #13248
8 years ago
SilverFire - Dmitry Naumenko
ed82ba4ee2
Revert "fix ArrayHelper::getValue() to throw exception on invalid input"
...
This reverts commit e963b2af64
because of BC breaking reported in #13248 .
To know more about the reasons of commit revertinvg, visit https://github.com/yiisoft/yii2/issues/13248
8 years ago
Carsten Brandt
e963b2af64
fix ArrayHelper::getValue() to throw exception on invalid input
...
fixes #12927
8 years ago
SilverFire - Dmitry Naumenko
11c58549d4
Fixed FileHelperTest::testFindFilesRecursiveWithSymLink()
8 years ago
SilverFire - Dmitry Naumenko
9a45b70adf
Updated FileHelperTest
8 years ago
Robert Korulczyk
8e0af24203
Fix protocol-relative URLs in `Url::to()` ( #13156 ) ( #13157 )
...
* Fix protocol-relative URLs in `Url::to()`
* Use `isRelative()` in `Url::to()`
8 years ago
Robert Korulczyk
2d91723934
Add support for creating protocol-relative URLs.
...
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
8 years ago
SilverFire - Dmitry Naumenko
63e650952b
Updated tests for HtmlHelper::textarea()
8 years ago
Elvira Sheina
0545bb6936
Fixed truncateHtml leaving extra tags ( #7727 )
8 years ago
Alexey Rogachev
ea251e24ba
Closes #7420 : Attributes for prompt generated with `renderSelectOptions` of `\yii\helpers\Html` helper
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
n.vanderburg
6b73cfccbb
Fixes #12881 : Added `removeValue` method to `yii\helpers\BaseArrayHelper` (nilsburg)
8 years ago
Carsten Brandt
6346e7180c
added test for default route to Url helper
8 years ago
Alex-Code
37caadfab8
Extra truncate HTML tests
8 years ago
SilverFire - Dmitry Naumenko
c66b845f48
Revert "Fixed #11973 : `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly"
...
This reverts commit 3fcc26996b
.
8 years ago
SilverFire - Dmitry Naumenko
7e16a667ee
Added unit-test for BaseHtml::errorSummary()
8 years ago
SilverFire - Dmitry Naumenko
3fcc26996b
Fixed #11973 : `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly
8 years ago
Robert Korulczyk
993f2aef28
Fixes #11275 : Added possibility of unset or force replace former value in `ArrayHelper::merge()`
8 years ago
Klimov Paul
acfe21b400
Fixed `yii\helpers\Json::encode()` encodes empty array returned by `JsonSerializable::jsonSerialize()` as object
8 years ago
Carsten Brandt
7076b38ea9
added a test for #11925
8 years ago
Carsten Brandt
062895111f
fixed php 7.1 test breaks that depend on ICU data version
8 years ago
Viktor Pikaev
30bb9bd7c8
Fixes #11462 : Added support of filtering rules to `yii\log\Target::$logVar`, added `\yii\helpers\BaseArrayHelper::filter()` method
8 years ago
Alexander Makarov
16e4cab8f1
Fixes #11865 : Fixed setting `selected` for dropdown list using options
8 years ago
AnikanovD
b45e5fbaf2
Unit test for #11549
8 years ago