Robert Korulczyk
5992eea571
Fixes #11808 : `_table` and `_column` suffixes are now required when generating migration
8 years ago
Carsten Brandt
b0bb8649a3
HHVM compatible fix for messageformatter error
...
fixes #11528
8 years ago
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
8 years ago
Kostas Thermos
d219b17e65
Test for MessageFormatter with broken pattern
...
close #11644
8 years ago
Carsten Brandt
d9122a74a9
improved tests and docs for #11857
8 years ago
Viktor Pikaev
30bb9bd7c8
Fixes #11462 : Added support of filtering rules to `yii\log\Target::$logVar`, added `\yii\helpers\BaseArrayHelper::filter()` method
8 years ago
Alexander Makarov
16e4cab8f1
Fixes #11865 : Fixed setting `selected` for dropdown list using options
8 years ago
Alexander Makarov
894f832dca
#11857 : Added test for AccessRule matching by verb
8 years ago
Carsten Brandt
9cac1317b9
added test for #11801
8 years ago
Carsten Brandt
17d08cc0a4
fixed crash on non-string input to CSRF token
...
fixes #11822
also adding proper unit tests for validate CSRF token.
8 years ago
Robert Korulczyk
099b364b14
Fixed #9574 : Implicit run ColumnSchemaBuilder::null() when default value is set to null. ( #11813 )
8 years ago
Robert Korulczyk
104712103b
Fixes #11693 : Handle QueryBuilder::batchInsert() calls with no data to insert. ( #11812 )
8 years ago
Sam Mousa
dfa292652d
Fixes #11561 : Fixed DI container throwing exceptions for optional dependencies
8 years ago
Sam Mousa
b30b5a99ea
Fixes #11672 : Fixed `yii\validators\NumberValidator` erroring when value is an object without `__toString()` method
8 years ago
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
8 years ago
Carsten Brandt
86f17c8dad
added tests classes for db related tests
8 years ago
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
8 years ago
Carsten Brandt
4e3c9e4a98
fixed scalar value for IN condition
...
fixes regression from 2.0.8 #10961
fixes #11536
8 years ago
AnikanovD
b45e5fbaf2
Unit test for #11549
8 years ago
AnikanovD
239d7814eb
Fixes #11739 : Fixed `ArrayHelper::index()` losing precision for float keys
8 years ago
AnikanovD
b39a0a1e5a
Fixes #11774 : Fixed incorrect recusuive symlinks check in FileHelper
8 years ago
Thiago
bafc8b3325
Fixes #10422 , #9574 : New proposal fix for ColumnSchemaBuilder not null column
...
* Added ability to explicitly set column nullability #10422
* Removed isNull property.
* add since tag.
8 years ago
Carsten Brandt
b211e6bf69
added failing test for #11686
...
test BaseArrayHelper::isIn() in strict mode
8 years ago
Sam
2ebccf0e73
Skip filehelper tests (and mark them as incomplete) when runtime is not a local file system. ( #11713 )
8 years ago
Sam
cf820a98d7
Fixed issue #11712 : DbSessionTest is now skipped when SQLite is not available. ( #11714 )
8 years ago
Alexander Makarov
7cea46bcb4
Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289
8 years ago
Boudewijn Vahrmeijer
0a60466729
Fixes #11527 : Fixed `bigPrimaryKey()` for SQLite
8 years ago
Angel Guevara
fdbf7d85a1
Simple tests ( #11606 )
...
* method to simplify migrate/create tests
* use new assertion for all migration/create tests
* move the expected files to test/data/console
8 years ago
maine-mike
7249a6c99e
Move Identity Cookie code into separate functions
8 years ago
SilverFire - Dmitry Naumenko
77b29bf927
Added tests to ColumnSchemaBuilderTest in order to verify custom column types work OK
8 years ago
Paul Klimov
7e7db38011
Fix #11591 `ActionFilter` wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
8 years ago
SilverFire - Dmitry Naumenko
0ff6eeba7d
Enhanced 9f499eb: `yii\web\User::checkRedirectAcceptable()` removed check for "*" type (invalid in accept header)
8 years ago
SilverFire - Dmitry Naumenko
b976f638d8
Added test for PgSQL BIGINT column to ensure typecasting works OK
...
Closes #11286
8 years ago
SilverFire - Dmitry Naumenko
9f499eb51e
Fixed `yii\web\User::checkRedirectAcceptable()` to treat acceptable content type `*/*` as `*`
...
Closes #11523
8 years ago
Oleg Balykin
515732c7b8
Test for bug dbTypecast with empty char #11548
8 years ago
SilverFire - Dmitry Naumenko
f7ff153fce
Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()` not to log error when source and language is same, but locales are different
8 years ago
Sergey Smirnov
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
8 years ago
Paul Klimov
6b607d078f
#11498 : Fixed unable to saved serialized object into PostgreSQL binary column ( #11499 )
...
#11498 : Fixed unable to saved serialized object into PostgreSQL binary column
9 years ago
SilverFire - Dmitry Naumenko
53e1018648
Updated `yii\grid\DataColumn::getHeaderCellLabel()` to extract attribute label from the `filterModel` of Grid
...
Closes #9950
9 years ago
SilverFire - Dmitry Naumenko
030913e7f0
Fixed code style and indentations
9 years ago
SilverFire - Dmitry Naumenko
aaf6c844fb
Added DataColumnTest
9 years ago
mdmunir
7dc9d07bcd
Changable default flavor for Markdown helper
...
close #11438
9 years ago
Carsten Brandt
5bc2f3a851
avoid random test failure
9 years ago
Alexander Makarov
e00c9d904e
Fixed tests to run properly on Windows
9 years ago
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
9 years ago
Carsten Brandt
49028af437
skip testing /dev/urandom on windows
...
also removed redundant test
9 years ago
Carsten Brandt
2aeb479341
better unit test for generateRandomBytes()
9 years ago
Vladimir Khramov
c6d04644d3
passing properties to recursive call if properties of top object are not specified
...
fixes #7717
close #10960
9 years ago
Carsten Brandt
4411a74ebd
proper fix for #9425 , adjust changes from #11363
...
includes tests and fix that works in all cases.
9 years ago
Carsten Brandt
00d506c398
completed implementation for #7177
...
added TYPE_TIME and default values for format to be chosen from
corresponding formatter variable
fixes #7177
close #10778
9 years ago