Commit Graph

827 Commits

Author SHA1 Message Date
Alexander Makarov
dde695cda4 Added GridView message check to FallbackMessageFormatterTest 2014-06-24 02:37:49 +04:00
Alexander Makarov
02e3746013 Fixed Inflector::slug to work properly with numbers 2014-06-22 02:03:55 +04:00
njasm
6974e84f18 added more unit tests to widgets\Breadcrumbs and 100% coverage. 2014-06-21 16:20:02 +01:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
njasm
517cf3df43 added widget Breadcrumbs unit tests. 2014-06-20 13:37:50 +04:00
Alexander Makarov
c3de3450a7 Fixes #3939: \yii\Inflector::slug() improvements:
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
2014-06-19 20:33:52 +04:00
Alexander Makarov
a8423bbaed Removed commented code 2014-06-18 12:51:52 +04:00
Qiang Xue
24257e76c8 Fixes #3909: Html::to() should not prefix base URL to URLs that already contain scheme 2014-06-17 15:41:01 -04:00
Carsten Brandt
639e52c199 skip tests on HHVM 2014-06-16 11:06:01 +02:00
Carsten Brandt
36fe23dac3 use different file names in different tests to run on HHVM 2014-06-16 10:47:49 +02:00
Carsten Brandt
106a078ab7 use different file names in tests to ensure they can run on HHVM 2014-06-16 10:29:17 +02:00
Mark
a89d574a20 updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed 2014-06-14 22:11:58 +04:00
Mark
1a3c04e0d2 fixed tests 2014-06-14 13:14:36 +04:00
Klimov Paul
88c25245a2 Test path composition in 'AssetControllerTest' adjusted 2014-06-13 11:51:32 +03:00
Carsten Brandt
1a7b4c5383 added testcase of @UncleCoder
e43c503c2d

issue #3817
2014-06-12 10:52:36 +02:00
Mark
0206e9174c file validator tests added 2014-06-10 14:14:59 +04:00
Alexander Makarov
f8e05fbf4f Improved yii\helpers\Inflector::slug to support more cases for Russian, Hebrew and special characters 2014-06-08 05:44:31 +04:00
Carsten Brandt
0208f289c3 fixed test breaks 2014-06-04 19:12:18 +02:00
Carsten Brandt
d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
2014-06-04 14:28:57 +02:00
Alexander Makarov
d34e3c326f Fixed typo in test 2014-06-02 20:14:48 +04:00
Alexander Makarov
a5c4a0ebb4 Adjusted BaseActiveRecord code for better noSQL compatibility 2014-06-02 20:13:48 +04:00
Alexander Makarov
0003b10b02 ElasticSearch tests fix 2014-06-02 18:14:02 +04:00
Alexander Makarov
4624793954 Merge branch 'unlinkAll' of github.com:NmDimas/yii2 into NmDimas-unlinkAll
Conflicts:
	framework/CHANGELOG.md
2014-06-02 17:38:15 +04:00
NmDimas
95d2b29bff Change unit test to Unlink and add test to unlinkAll 2014-06-01 22:40:05 +03:00
Klimov Paul
f19a97e308 Fix yii\helpers\FileHelper::copyDirectory() pattern not working 2014-05-30 14:50:11 +03:00
Alexander Makarov
d7a251bbec Removed unused imports, added missing phpdoc 2014-05-30 11:55:17 +06:00
Carsten Brandt
873b2b04db fixed test breaks after #3614 2014-05-28 17:20:24 +02:00
Carsten Brandt
c6201fb5ca fixed cubrid test case 2014-05-26 13:43:42 +02:00
Carsten Brandt
d1a3d40014 added test case to acually create cols with virtual type
verify issue #3473
2014-05-26 11:53:06 +02:00
Carsten Brandt
4de6e8c6b2 fix #3501 replace . when generating input ids 2014-05-25 18:51:06 +02:00
Qiang Xue
10889474dd Merge pull request #3549 from creocoder/range-validator-enh
Improve `in` validator to properly support array attributes.
2014-05-22 14:20:38 -04:00
Alexander Kochetov
460b5fab06 Tests added 2014-05-22 20:15:55 +04:00
Qiang Xue
96feeb894c Fixed test break of Html. 2014-05-22 09:51:49 -04:00
Carsten Brandt
1a848453a1 tried to fix tests for #3472 2014-05-22 13:09:42 +02:00
Scott Tester
390004a899 Fixed path in unit test to use the directory separator variable. 2014-05-22 09:34:10 +10:00
Scott Tester
be89ff97d3 fixed normalizePath to keep a '.' path when necessary. 2014-05-21 20:55:52 +10:00
DaSourcerer
be164e45db Handle invalid code sequences in Html::encode() 2014-05-20 15:44:23 +02:00
Klimov Paul
6f3ffae7d6 Merge branch 'master' of github.com:yiisoft/yii2 into 3232-var-export 2014-05-19 18:34:07 +03:00
Klimov Paul
8d0fb916c0 VarDumper::exportAsString() removed 2014-05-19 18:33:49 +03:00
Qiang Xue
5439ab7854 Changed the default value of Cache::keyPrefix to be null. 2014-05-19 11:29:34 -04:00
Carsten Brandt
15904951ef Merge PR #3406 branch 'exist-validator-enhancement' of https://github.com/creocoder/yii2
* 'exist-validator-enhancement' of https://github.com/creocoder/yii2:
  ExistValidator final refactoring. `allowArray` checking also added to `validateValue` method.
  New tests added
  New tests added
  ExistValidator::validateValue() fixed
  Tests excess dump removed
  ExistValidator bugfix
  Tests updated
  ExistValidator refactoring
  CHANGELOG updated
  `allowArray` introduced.
  CHANGELOG
  ExistValidator count logic fix
  Tests updated
  Tests updated
  Tests updated
  Refactoring
  Refactoring
  Improve `exist` validator to support array attributes

Conflicts:
	framework/CHANGELOG.md
2014-05-15 10:00:06 +02:00
Qiang Xue
3411504508 Revert "Fixed test break."
This reverts commit 70b57766b1.
2014-05-14 11:40:46 -04:00
Qiang Xue
70b57766b1 Fixed test break. 2014-05-14 11:29:48 -04:00
Alexander Kochetov
520f5fa160 New tests added 2014-05-14 19:11:37 +04:00
Alexander Kochetov
55729a4cc0 New tests added 2014-05-14 19:09:55 +04:00
Alexander Kochetov
f457073d27 Tests excess dump removed 2014-05-14 13:39:31 +04:00
Alexander Kochetov
e791436819 Tests updated 2014-05-14 13:37:05 +04:00
Alexander Kochetov
087b7ca962 Tests updated 2014-05-09 18:55:49 +04:00
Alexander Kochetov
795b7d75e7 Tests updated 2014-05-09 18:08:40 +04:00
Alexander Kochetov
ba767206e8 Tests updated 2014-05-09 17:52:45 +04:00