SilverFire - Dmitry Naumenko
14b4f52e44
Updated CHANGELOG
2016-11-13 18:02:54 +02:00
Anton Kozlov
20a411d8ab
Fixed #12822 : Fixed datetime creation from microseconds, added tests to \i18n\Formatter::asTimestamp
2016-11-13 18:02:54 +02:00
SilverFire - Dmitry Naumenko
25ebf03a8d
Fixed ValidatorTest::testValidateWithEmpty()
...
Closes #12848
2016-11-12 16:20:41 +02:00
SilverFire - Dmitry Naumenko
9e129705a7
PHPDocs updated
2016-11-12 15:58:57 +02:00
SilverFire - Dmitry Naumenko
a9124dd8c2
Added unit tests for rules with private fields
2016-11-12 15:46:14 +02:00
Carsten Brandt
24809c5d73
fixed group annotations for #12889
2016-11-10 23:46:05 +01:00
Carsten Brandt
c75a546621
document usage of ActiveRecordTestTrait
...
fixes #12897
2016-11-09 21:11:15 +01:00
Boudewijn Vahrmeijer
b641c1f41b
Enh Dependency getHasChanged ( #12928 )
...
* - rename getHasChanged() to isChanged()
- updated docs
- added tests for Dependency
- added useful helpers for inaccessible properties to TestCase
2016-11-09 10:05:06 +01:00
Carsten Brandt
e675d5a7a1
removed old include from tests bootstrap
...
issue #12943
2016-11-08 23:43:14 +01:00
SilverFire - Dmitry Naumenko
87f843524e
Fixed typo
2016-11-08 23:26:46 +02:00
SilverFire - Dmitry Naumenko
24a5532ca9
Added unit tests for #12750
2016-11-08 23:20:42 +02:00
Alexander Zlakomanov
b48b1a0657
Fixes #12904 : Fixed lowercase table name in migrations
2016-11-08 23:39:44 +03:00
Alexey Rogachev
d50a06e4e7
Fixed typo in comment ( #12945 ) [skip ci]
2016-11-08 16:22:30 +03:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
n.vanderburg
6b73cfccbb
Fixes #12881 : Added removeValue method to yii\helpers\BaseArrayHelper (nilsburg)
2016-11-04 18:21:56 +03:00
Boudewijn Vahrmeijer
8705219005
Added tests for HelpController ( #12908 )
2016-11-04 15:58:21 +03:00
Boudewijn Vahrmeijer
560e3eb0a3
Unit tests created for ActiveQuery ( #12889 )
...
* setup ActiveQueryTest
* basic unit tests for ActiveQuery are created:
- all protected & public methods are covered
- method return types are tested
- some functions are already full tested, others are supplied with @todo
* fix driver for mssql
* fix ::class to className()
* remove OCI tests
2016-11-01 20:48:58 +01:00
Klimov Paul
e7c080594d
Fixed yii\behaviors\AttributeTypecastBehavior marks attributes with null value as 'dirty'
2016-11-01 12:27:36 +02:00
Alexander Makarov
0ac321370b
Fixes #12856 : Fixed yii\web\XmlResponseFormatter to use true and false to represent booleans
2016-10-29 21:57:48 +03:00
Edgard Lorraine Messias
d3c7accc49
Added braces check for initDefaultButton ( #12863 )
2016-10-28 00:22:11 +03:00
Alexey Rogachev
aa6d34a285
Fixes #9796 : Initialization of not existing yii\grid\ActionColumn default buttons ( #12859 )
2016-10-27 22:11:54 +03:00
Evgeniy Tkachenko
757b3de0bf
Fixes #12828 : Fixed handling of nested arrays, objects in \yii\grid\GridView::guessColumns
2016-10-27 16:19:13 +03:00
Paul Klimov
8d05bd9479
yii\base\Application::$version converted to yii\base\Module::$version virtual property, allowing to specify version as a PHP callback
...
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
2016-10-25 17:10:56 +03:00
Edgard Lorraine Messias
60208bb96c
Enabled tests for FileMutex on Windows, see #12824 ( #12831 )
2016-10-25 13:37:55 +03:00
Pavel Dovlatov
73a30780b3
Fixes #12810 : getChildRoles() throws an exception when role has no children
2016-10-24 14:11:09 +03:00
Carsten Brandt
dda5543a61
added test for View::registerJsFile()
2016-10-21 13:48:31 +02:00
Klimov Paul
d4df72a2a4
Fixed yii\behaviors\AttributeTypecastBehavior unable to automatically detect attributeTypes
2016-10-21 12:49:22 +03:00
Carsten Brandt
6346e7180c
added test for default route to Url helper
2016-10-20 22:10:01 +02:00
LAV45
04848a6c3b
Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
...
fixes #11987
close #12683
2016-10-20 13:17:10 +02:00
François Gannaz
7669d60df6
Document and test ListView.showOnEmpty
...
This addresses #11627 by completing the documentation without changing
the behavior. Some basic unit tests are added on ListView to ensure this
won't change unintentionnally.
That means a ListView widget with an empty provider and
`showOnEmpty=true` will still display an empty element (by default, an
empty "div.list-view").
2016-10-14 15:40:23 +02:00
Carsten Brandt
fa9675636b
fixed broken test in ActiveRecordTestTrait
...
use generic class names that work for all db backends
fixes #12745
close #12746
2016-10-14 14:41:38 +02:00
p.chapl
3e1588b5b9
Added unit tests for #9561
...
canGetProperty and canSetProperty on ActiveRecord checks attributes
close #11087
2016-10-13 13:18:37 +02:00
Klimov Paul
2a9a997277
Added support for wildcards for optional at yii\filters\auth\AuthMethod
2016-10-10 12:24:04 +03:00
Robert Korulczyk
63f95fa3ad
Fixes #11309 : Added yii\web\Request::getHostName() method that returns hostname of current request
2016-10-07 01:00:14 +03:00
Carsten Brandt
89bc2918d3
Make 'safe' validator work on write-only properties
...
fixes #12605
2016-10-06 14:44:11 +02:00
githubjeka
76ced661b2
DetailView captionOptions & contentOptions attributes
2016-10-05 11:43:21 +03:00
Evgeniy Tkachenko
aa4b49a2e6
Fixes #11245 : Added yii\rbac\ManagerInterface::getRolesByRole($roleName) method. Implement to DbManager and PhpManager
2016-10-04 14:44:18 +03:00
SilverFire - Dmitry Naumenko
95152f3c2c
Fixed consistency of indexBy handling for yii\db\Query::column()
...
Closes #12649
2016-10-03 11:17:32 +03:00
Dmitry Naumenko
970cc292f1
Merge pull request #12608 from dynasource/fix-moduletest-windows
...
makes ModuleTest pass in windows environment
2016-09-27 15:16:13 +03:00
Boudewijn Vahrmeijer
76d8bc9f94
enhance tests for DataColumn ( #12615 )
2016-09-27 13:42:56 +03:00
Boudewijn Vahrmeijer
41e2e244fc
fix failing test in Windows env
2016-09-26 22:24:11 +02:00
SilverFire - Dmitry Naumenko
fb210b8839
Fixed typo in data type. Fixes #12599
2016-09-26 14:06:08 +03:00
SilverFire - Dmitry Naumenko
3861108553
Fixed casting of binnary() type for MSSQL. Closes #12599
2016-09-26 13:41:27 +03:00
SilverFire - Dmitry Naumenko
3ec3ce9312
Reverted #10429 because of BC breaking
2016-09-23 12:28:50 +03:00
Carsten Brandt
e327d018b4
added test for pagination params
...
verify #12569
2016-09-20 09:48:44 +02:00
Dmitry Naumenko
6b88f2fa71
Merge pull request #12537 from Alex-Code/StringHelper
...
StringHelper fixes
2016-09-19 10:40:14 +03:00
SilverFire - Dmitry Naumenko
f3dc5c437d
Fixed replacement of alias more than once in View::registerJsFile() and View::registerCssFile(), updated tests
2016-09-17 10:28:39 +03:00
SilverFire - Dmitry Naumenko
9931324e48
Fixed regression in View::registerJsFile, View::registerCssFile
...
Closes #12544
2016-09-15 21:23:19 +03:00
SilverFire - Dmitry Naumenko
770c96b7c9
#12544 - Added additional tests cases for AssetBundleTest::testRegisterFileAppendTimestamp()
2016-09-15 20:58:27 +03:00
SilverFire - Dmitry Naumenko
8eaf4e2ffe
#12544 - Added mote test cases for AssetBundleTest::testRegisterFileAppendTimestamp()
2016-09-15 19:51:17 +03:00