Commit Graph

3198 Commits

Author SHA1 Message Date
Alex-Code
37caadfab8 Extra truncate HTML tests 2016-09-14 12:40:24 +01:00
Klimov Paul
bda1dbe004 Fix unit test 2016-09-13 12:33:07 +03:00
Klimov Paul
60307c118b code style fix 2016-09-12 14:43:46 +03:00
Klimov Paul
8c39b1cbfa code style fix 2016-09-12 14:41:05 +03:00
Klimov Paul
11c93c405c fix LoggerTest to be more reliable 2016-09-12 14:06:59 +03:00
Paul Klimov
8aa0e85a07 Add migration namespace support (#12511)
namespace support added to `BaseMigrateController`
2016-09-12 14:01:04 +03:00
SilverFire - Dmitry Naumenko
c66b845f48 Revert "Fixed #11973: yii\helpers\BaseHtml::getAttributeValue() fixed to work with items[] notation correctly"
This reverts commit 3fcc26996b.
2016-09-11 22:13:59 +03:00
SilverFire - Dmitry Naumenko
8ec60e3d9b Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool 2016-09-11 21:17:43 +03:00
Daniel Gomez Pan
ae42d7b281 Fix #12423 Fix bug migration tool when creating fields with brackets in comment 2016-09-11 18:03:09 +02:00
SilverFire - Dmitry Naumenko
7f69b71d60 Updated QueryTest. Verified andFilterWhere to work with nested operator format conditions
Closes #5365
2016-09-10 21:25:39 +03:00
SilverFire - Dmitry Naumenko
6670fa986f Updated MenuTest. Verified that item template override works correctly
Closes #4668
2016-09-10 21:18:12 +03:00
SilverFire - Dmitry Naumenko
72f9a10844 Fixed tests 2016-09-10 16:01:40 +03:00
SilverFire - Dmitry Naumenko
c3622bb1ad Added tests for #10429 2016-09-10 15:41:39 +03:00
Evgeniy Tkachenko
fd6dd73cec AssetManager::getAssetUrl() fixed to get URL when appendedTimestamp is true 2016-09-10 12:46:54 +03:00
Klimov Paul
d73d155e43 code style fix 2016-09-09 14:59:11 +03:00
Dmitry Naumenko
5d91ed520c Merge pull request #12305 from rob006/fix-11323-bc
Fix BC break for `UniqueValidator` custom message
2016-09-09 13:41:28 +03:00
Carsten Brandt
b13d6fb13a make version_compare() match everything starting from alpha
to include PHP 7.1-rc1
2016-09-08 00:53:08 +02:00
Carsten Brandt
1edf562800 better version match for travis memcache 2016-09-08 00:42:48 +02:00
Carsten Brandt
9524672cd1 skip memcache extension on PHP 7 but keep memcacheD 2016-09-08 00:36:15 +02:00
Carsten Brandt
2bd301d1fe fix test for PHP 7.1, expect deprecation message for mcrypt_create_iv() 2016-09-08 00:03:43 +02:00
Carsten Brandt
06b045c8fe created unit test to verify #12483 2016-09-07 11:21:15 +02:00
Paul Klimov
4e59607c9d MultipartFormDataParser added (#12466)
`MultipartFormDataParser` added
2016-09-07 12:05:32 +03:00
SilverFire - Dmitry Naumenko
7e16a667ee Added unit-test for BaseHtml::errorSummary() 2016-09-06 22:26:27 +03:00
Klimov Paul
48b0b962b8 Added yii\base\Event::offAll() method allowing clear all registered class-level event handlers 2016-09-05 12:46:43 +03:00
Klimov Paul
ea03f56d42 BaseActiveRecord methods canGetProperty() and canSetProperty() improved to handle attribute list fetching failure. 2016-09-05 12:22:09 +03:00
Robert Korulczyk
7d1ef4c054 Improvements for handling redirections produced by UrlNormalizer (#12451) 2016-09-04 11:03:19 +03:00
Bizley
3deb6900b8 Yii 2 name fix (#12448)
To match Documentation Style Guide

> Yii 2.0 or Yii 2 (not Yii2 or Yii2.0)
2016-09-03 22:02:33 +02:00
Paul Klimov
2fe0a405a9 fix for #9027 - UploadedFile early instantiation problem (#12439)
fix for #9027 - UploadedFile - class instance is created on demand when getInstance or getInstances called, not when loadFiles called
2016-09-02 17:27:59 +03:00
Robert Korulczyk
9d882e53fe Fixes #12431: Fix bug when lock file was not removed after yii\mutex\FileMutex::release() 2016-09-01 23:50:05 +03:00
Carsten Brandt
857da0e102 added test for Module class
issue #12422
2016-09-01 11:52:07 +02:00
Klimov Paul
db15c50557 Fixed yii\console\controllers\AssetController looses bundle override configuration, which makes it external one 2016-08-31 17:25:52 +03:00
Klimov Paul
90b9ed87bd Added yii\data\Sort::setAttributeOrders() 2016-08-31 14:03:34 +03:00
Klimov Paul
8c9bafcc06 Fix unit test on HHVM 2016-08-31 13:13:39 +03:00
Klimov Paul
56cc97ae42 Added yii\console\controllers\AssetController::deleteSource 2016-08-31 13:06:19 +03:00
Robert Korulczyk
8142de23d4 Improve normalizer for URL manager 2016-08-30 21:25:23 +02:00
Cronfy
a7f63b6da3 Add normalizer for URL manager. 2016-08-30 21:22:58 +02:00
Klimov Paul
75439d367d Fixed canGetProperty() and canSetProperty() returns false for yii\db\BaseActiveRecord attributes 2016-08-30 17:39:23 +03:00
Klimov Paul
cd8c01f555 Fixed yii\rest\Serializer::serialize() serializes DataProvider incorrectly, if models keys do not compose integer sequence 2016-08-29 18:20:16 +03:00
Carsten Brandt
469c0548b6 fixed formatter to respect grouping separator for currency format
fixes #12331
2016-08-25 20:29:50 +02:00
Dmitriy Makarov
2d9b659777 Fixes #12296: Added value validation to yii\log\Target::setLevels() 2016-08-25 20:47:03 +03:00
Robert Korulczyk
4fdfbc2739 Add tests for custom message for UniqueValidator 2016-08-24 22:59:58 +02:00
Dmitriy Makarov
d4536fe645 Added Target test of the following methods: (#12294)
- getLevels()
- setLevels()
2016-08-24 14:31:53 +03:00
SilverFire - Dmitry Naumenko
623f30324d Added tests for ActiveField::hint(), fixed code formatting 2016-08-22 16:59:09 +03:00
Dmitriy Makarov
8b49164f72 Added BaseYiiTest tests of the following methods: (#12235)
- BaseYii::info()
- BaseYii::warning()
- BaseYii::trace()
- BaseYii::error()
- BaseYii::beginProfile()
- BaseYii::endProfile()
2016-08-21 13:53:45 +03:00
Klimov Paul
3e3c4b12ef unit test BaseYiiTest::testSetupLogger() improved 2016-08-18 15:42:16 +03:00
Dmitriy Makarov
cb6e5dcc61 Added BaseYii test for the setLogger() method (#12187)
Added BaseYii test for the setLogger() method
2016-08-18 15:23:56 +03:00
Dmitriy Makarov
dc8f6e8195 Added EmailTarget tests of the following methods: (#12150)
- init()
- export()
2016-08-12 23:24:54 +03:00
Nikola Kovacs
84124bec4f Fix grammar in migration template docblocks. (#12148)
Fix typo in test file's name.
2016-08-12 17:55:43 +03:00
Klimov Paul
143f9070af Fixed yii\db\BaseActiveRecord::updateAttributes() change isNewRecord state for the new model 2016-08-12 11:43:31 +03:00
Dmitriy Makarov
81479ff085 Added Dispatcher tests of the following methods: (#12127)
* Added Dispatcher tests of the following methods:
- getTraceLevel()
- setTraceLevel()
- getFlushInterval()
- setFlushInterval()
- dispatch()
- init()

* [Fix] Added the 'mocking' flag
2016-08-10 12:50:57 +03:00