Sergey Makinen
afc298c6ef
Fixed HttpCache was sending an empty Pragma header ( #12100 ) ( #12123 )
2016-08-09 15:03:57 +02:00
Sergey Makinen
bbbb98626f
HttpCache no longer returns 304 HTTP code when callbacks return null ( #12099 )
2016-08-08 23:58:39 +03:00
Carsten Brandt
ef0658726f
Revert "Revert "fixed mysql defaul integer display width on unsigned pk""
...
This reverts commit 144d78ebb4 .
fixes #11541
2016-08-08 13:36:08 +02:00
Dmitriy Makarov
552ad141b6
Added SyslogTarget tests of the following methods: ( #12093 )
...
- export
- formatMessage
2016-08-08 13:20:22 +02:00
Carsten Brandt
10806a65a4
validate input in REST serializer
...
fixes #12107
2016-08-08 13:14:22 +02:00
Carsten Brandt
144d78ebb4
Revert "fixed mysql defaul integer display width on unsigned pk"
...
This reverts commit 85d89e4893 because it
is a breaking change. see #11541
2016-08-08 11:54:29 +02:00
Carsten Brandt
85d89e4893
fixed mysql defaul integer display width on unsigned pk
...
fixes #11541
2016-08-08 10:47:34 +02:00
SilverFire - Dmitry Naumenko
3fcc26996b
Fixed #11973 : yii\helpers\BaseHtml::getAttributeValue() fixed to work with items[] notation correctly
2016-08-05 15:08:51 +03:00
Paul Klimov
a53c1f9525
Added yii\behaviors\AttributeTypecastBehavior ( #12067 )
...
Added `yii\behaviors\AttributeTypecastBehavior`
2016-08-05 13:26:26 +03:00
Dmitriy Makarov
5d09f32b3b
Added logger tests of the following methods: ( #12083 )
...
- getDbProfiling()
- calculateTimings()
- getElapsedTime()
- getLevelName()
- getProfiling()
2016-08-05 10:34:29 +02:00
Alexander Makarov
01c4dde202
Added tests for column schema builder comment() method
2016-08-05 02:22:46 +03:00
Dmitriy Makarov
dc4a4b456c
Test for logger, flush method ( #12041 )
...
* Added test for logger, flush method
- testFlushWithoutDispatcher
- testFlushWitDispatcherAndDefaultParam
- testFlushWitDispatcherAndDefinedParam
* Used 'yii\\log\\Dispatcher' instead of Dispatcher::class as parameter for the getMock method
2016-08-04 20:19:04 +03:00
Robert Korulczyk
993f2aef28
Fixes #11275 : Added possibility of unset or force replace former value in ArrayHelper::merge()
2016-08-03 22:49:49 +03:00
Klimov Paul
acfe21b400
Fixed yii\helpers\Json::encode() encodes empty array returned by JsonSerializable::jsonSerialize() as object
2016-08-01 10:31:10 +03:00
Dmitriy Makarov
b2b2cb2ada
Added more tests for logger ( #12034 )
...
- testLogWithTraceLavel
- testLogWithFlush
2016-07-28 19:43:03 +03:00
Klimov Paul
8de6a5117c
Fixed yii\base\Model::offsetExists() throws an exception on un-existing field
2016-07-28 12:33:16 +03:00
Daniel Gómez Pan
83496853c8
Fixes #11461 : Fixed migration tool error when create migrate with comma in defaultValue
2016-07-28 01:15:55 +03:00
Egor Verbitskiy
2fbd55b634
Fixes #11949 : Fixed ActiveField::end generates close tag when it's option['tag'] is null
2016-07-14 12:38:26 +03:00
Evgeniy
ad796dbf22
#11912 : Postgresql negative default values support for integer/float/decimal columns ( #11933 )
...
* fixes #11912 : Postgresql negative default values support for integer/float/decimal columns
* added more tests
* updated CHANGELOG.md
2016-07-11 23:49:43 +02:00
Carsten Brandt
bda42b68ce
fixed yii\di\Instance documentation
...
fixes #11637
2016-07-11 15:01:17 +02:00
Carsten Brandt
7076b38ea9
added a test for #11925
2016-07-11 12:09:54 +02:00
Angel Guevara
8c240ed067
Fixes #11683 : Fixed fixture command to work with short syntax. yii fixture "*, -User" should be used instead of yii fixture "*" -User
2016-07-07 01:30:06 +03:00
Carsten Brandt
326cdfeb52
added test for #11256
2016-07-06 14:51:59 +02:00
Carsten Brandt
d2dd232b6f
message improvement and test for #11323
2016-07-06 14:27:50 +02:00
Carsten Brandt
7fb447506d
fix mixed case column names for unique indexes in postgres
...
fixes #10613
2016-07-06 00:11:07 +02:00
Carsten Brandt
bfba387653
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Fixes #11212 : Added headers to PO file in `yii\i18n\GettextPoFile::save()`
2016-07-04 15:13:25 +02:00
Laszlovl
0f640c7138
Make sure inverseOf relations are also populated during dynamic relational queries
...
Refs #6347
2016-07-04 15:07:37 +02:00
stevekr
8ca845b680
Fixes #11212 : Added headers to PO file in yii\i18n\GettextPoFile::save()
2016-07-04 15:13:38 +03:00
Carsten Brandt
a46e88dea5
fixed inverseof test assertation
...
fixed wrong test to actually test what it should.
current assertation is a duplicate.
thanks to @laszlovl for spotting it.
pr #8497
2016-07-04 13:41:02 +02:00
Carsten Brandt
07d3217706
added test for negative date formatter values
...
test for #9628
2016-07-04 12:42:09 +02:00
Carsten Brandt
062895111f
fixed php 7.1 test breaks that depend on ICU data version
2016-07-04 11:52:33 +02:00
Robert Korulczyk
5992eea571
Fixes #11808 : _table and _column suffixes are now required when generating migration
2016-07-04 12:50:37 +03:00
Carsten Brandt
b0bb8649a3
HHVM compatible fix for messageformatter error
...
fixes #11528
2016-07-04 11:01:24 +02:00
Carsten Brandt
91f1ac1d99
fixed exception on malformed message in Messageformatter
...
this exception is thrown since PHP7
fix is compatible with older versions.
close #11644
fixes #11528
2016-07-04 10:42:39 +02:00
Kostas Thermos
d219b17e65
Test for MessageFormatter with broken pattern
...
close #11644
2016-07-04 10:42:39 +02:00
Carsten Brandt
d9122a74a9
improved tests and docs for #11857
2016-07-03 11:02:25 +02:00
Viktor Pikaev
30bb9bd7c8
Fixes #11462 : Added support of filtering rules to yii\log\Target::$logVar, added \yii\helpers\BaseArrayHelper::filter() method
2016-07-03 01:56:05 +03:00
Alexander Makarov
16e4cab8f1
Fixes #11865 : Fixed setting selected for dropdown list using options
2016-07-03 01:43:50 +03:00
Alexander Makarov
894f832dca
#11857 : Added test for AccessRule matching by verb
2016-07-02 20:42:52 +03:00
Carsten Brandt
9cac1317b9
added test for #11801
2016-06-25 19:09:12 +02:00
Carsten Brandt
17d08cc0a4
fixed crash on non-string input to CSRF token
...
fixes #11822
also adding proper unit tests for validate CSRF token.
2016-06-25 18:22:27 +02:00
Robert Korulczyk
099b364b14
Fixed #9574 : Implicit run ColumnSchemaBuilder::null() when default value is set to null. ( #11813 )
2016-06-25 15:52:11 +03:00
Robert Korulczyk
104712103b
Fixes #11693 : Handle QueryBuilder::batchInsert() calls with no data to insert. ( #11812 )
2016-06-25 15:51:09 +03:00
Sam Mousa
dfa292652d
Fixes #11561 : Fixed DI container throwing exceptions for optional dependencies
2016-06-23 23:53:28 +03:00
Sam Mousa
b30b5a99ea
Fixes #11672 : Fixed yii\validators\NumberValidator erroring when value is an object without __toString() method
2016-06-23 23:32:25 +03:00
Carsten Brandt
f0b9a0ee6b
use the same db connection for reading and writing data
...
obviously the test should use the same db in both cases :-D
2016-06-20 23:28:15 +02:00
Carsten Brandt
86f17c8dad
added tests classes for db related tests
2016-06-20 23:07:07 +02:00
Carsten Brandt
8ba032d147
refactored database tests
...
- changed test class naming for easier copying and searching of classes
- made base tests abstract and made MySQL an equal citisen in the test
hierarchie
- added missing db specific test classes
2016-06-20 19:26:43 +02:00
Carsten Brandt
4e3c9e4a98
fixed scalar value for IN condition
...
fixes regression from 2.0.8 #10961
fixes #11536
2016-06-20 15:20:21 +02:00
AnikanovD
b45e5fbaf2
Unit test for #11549
2016-06-19 15:22:12 +03:00