Commit Graph

14 Commits

Author SHA1 Message Date
Carsten Brandt
3e79d56447 made AssetBundle tests less cryptic
cleanup step was added in setUp() so this will still work.

split test functions filehelper test
2017-05-08 10:56:56 +02:00
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
2017-05-08 00:21:53 +02:00
Carsten Brandt
d786b78f25 Helper independent (#14050)
* Made sure most helpers are independent of Yii::$app

* Made sure most validators are independent of Yii::$app
2017-04-26 09:49:44 +02:00
Klimov Paul
d8e6a89af9 fixed tests without assettions 2017-04-13 16:17:35 +03:00
Klimov Paul
dee88787fc compatibility with PHPUnit 6.x added 2017-04-13 14:49:43 +03:00
Alexander Makarov
3f8e8a89eb Used more specific unit test assertions in framework tests 2017-03-14 09:45:31 +03:00
SilverFire - Dmitry Naumenko
11c58549d4 Fixed FileHelperTest::testFindFilesRecursiveWithSymLink() 2016-12-15 23:36:16 +02:00
SilverFire - Dmitry Naumenko
9a45b70adf Updated FileHelperTest 2016-12-15 23:21:23 +02:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
AnikanovD
b39a0a1e5a Fixes #11774: Fixed incorrect recusuive symlinks check in FileHelper 2016-06-18 17:34:25 +03:00
Sam
2ebccf0e73 Skip filehelper tests (and mark them as incomplete) when runtime is not a local file system. (#11713) 2016-06-07 12:58:35 +02:00
Alexander Makarov
4f4fa6fdf0 Fixes #10710: yii\helpers\FileHelper::copyDirectory() is now throwing exception when trying to copy a directory to itself or a subdirectory 2016-04-23 01:58:33 +03:00
Ni-san
77599dc179 fixes #11040: make copyDirectory method work correctly with parameter 'recursive' 2016-03-08 00:45:52 +06:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00