Alexander Makarov
4270470523
Various test fixes (mostly Windows-specific) ( #15336 )
7 years ago
Alexander Makarov
efac23dde7
Fixes #15335 : Added `FileHelper::unlink()` that works well under all OSes
7 years ago
Viktor
873c2b6b8f
Fixed HHVM tests ( #15330 )
...
* Fixed Ipv6ExpandingWithInvalidValue test on HHVM
* Skip PgSQLCache tests on HHVM
7 years ago
Viktor
1b63f7c891
Fixes #15320 : Fixed special role checks in `yii\filters\AccessRule::matchRole()`
7 years ago
Alexander Makarov
1e00a050d7
Fixes #15322 : Fixed PHP 7.2 compatibility of `FileHelper::getExtensionsByMimeType()`
7 years ago
edwards-sj
23630abe6d
Fixes #15302 : Fixed `yii\caching\DbCache` so that `getValues` now behaves the same as `getValue` with regards to streams
7 years ago
Dmitry Naumenko
d604d80823
Fixes #14043 : Added `yii\helpers\IpHelper`
7 years ago
hhniao
d2423cd6ca
Fixes #15301 : Fixed `ArrayHelper::filter()` to work properly with `0` in values
7 years ago
Pavel Dovlatov
b20d2692a1
More tests for Console helper ( #15285 )
...
* Adding some tests for \yii\helpers\BaseConsole
BaseConsole::input()
BaseConsole::output()
BaseConsole::error()
BaseConsole::prompt()
BaseConsole::confirm()
BaseConsole::select()
* Simplify Console helper stub for obviousness
* Linking to \yii\helpers\Console instead of \yii\helpers\BaseConsole
7 years ago
IceJOKER
01ff1f6593
Fixes #15142 : Fixed array params replacing in `yii\helpers\BaseUrl::current()`
7 years ago
Gabriel Caruso
2992b9b09d
Refactored tests with PHPUnit assert methods ( #15260 )
7 years ago
IceJOKER
8897ea7270
Fixes #15249 : Controllers in subdirectories were not visible in commands list
7 years ago
bscheshirwork
ba38edd393
Fix last time driver use if not support any ( #15246 )
7 years ago
bscheshirwork
a6b01a7d1e
Сhanges in test case naming ( #15228 )
7 years ago
Brandon Kelly
0948109a19
Fixes #15221 : Console improvements
7 years ago
Dmitry Dorogin
5ebf98cc1d
Fixes #5515 : Added default value for `yii\behaviors\BlameableBehavior` for cases when the user is guest
7 years ago
Sergey Makinen
b7d5393a08
Fixes #15194 : Fixed `yii\db\QueryBuilder::insert()` to preserve passed params when building a `INSERT INTO ... SELECT` query for MSSQL, PostgreSQL and SQLite
7 years ago
Carsten Brandt
d50822dfa5
test case for #15172
7 years ago
Dmitry Dorogin
bce830a8b0
Fixed tests for PHP 7.2 #15154 ( #15171 )
7 years ago
Nikolay Oleynikov
48bf8ce048
Fixes #14662 : Added support for custom `Content-Type` specification to `yii\web\JsonResponseFormatter`
7 years ago
Elvira Sheina
10e7b1b541
Fixes #14276 : Fixed I18N format with dotted parameters
7 years ago
Alex
988440caae
Add test for Yii::createObject(); ( #15129 )
7 years ago
Sergey Makinen
85b65c889a
Fixes #15117 : Fixed DB schema cache did not honor table prefixes
7 years ago
Sergey Makinen
4e176ca325
Fixes #15108 : Fixed `yii\db\Schema::getSchemaNames()` for MSSQL and added tests for all DBMSes
7 years ago
Roman Ishchenko
b354b26d03
Fixes #15081 : Fixed "Undefined offset: 1" in log Target
7 years ago
Alexander Makarov
3dd55954e8
Fixed tests
7 years ago
Elvira Sheina
13cd7d7ee0
Fixes #6588 : Fixed changing array keys after validation of multiple files in `yii\validators\FileValidator`
7 years ago
SilverFire - Dmitry Naumenko
5c6ba33e55
Disabled only PgSQL tests of DbSession in HHVM
7 years ago
SilverFire - Dmitry Naumenko
0dede3922d
Disabled DbSession tests for HHVM
7 years ago
Alexander Makarov
fb23b0d0ea
Code style fixes
7 years ago
SilverFire - Dmitry Naumenko
4831263716
Fixed tests for HHVM and PHP 5.4
7 years ago
SilverFire - Dmitry Naumenko
993eb5dcf8
Fixed RBAC tests
...
Before the fix, in case when RBAC tests for PgSQL and MySQL are runed
in same process sequentially, the second one reused old DB connection
creating mess in DBMS. Ha, see the rhyme: Creating mess in DBMS. :D
7 years ago
Dmitry Naumenko
2faf771118
Fixes #13436 : Fixed migration for MSSQL DbSession
7 years ago
SilverFire - Dmitry Naumenko
c0d8b0a817
Fixed sqlite tests
...
Prevent marking some tests as risky
7 years ago
SilverFire - Dmitry Naumenko
06d7a1f0c6
Improved ConnectionTest performance
...
Methods testMastersShuffled and testMastersSequential executed about 30 seconds each.
This commit reduces execution time to 2-5 seconds each.
7 years ago
SilverFire - Dmitry Naumenko
dbe7f7cac0
Disabled slow test on Travis
7 years ago
Carsten Brandt
e311001ef5
#14543 : Adjusted implementation of migration name length limit
7 years ago
SilverFire - Dmitry Naumenko
336404e0b9
PHP7.2RC5: enabled INTL tests, continue disabling some cases in FileValidator
7 years ago
Alexander Makarov
376006a2d5
Data filter enhancements and docs
...
- Added docs.
- Moved to "data" namespace.
- Moved messages to "yii" category.
- Added Russian messages translation.
7 years ago
Dmitry Dorogin
614fb52c45
Fixes #14543 : Throw exception when trying to create migration longer than 255 symbols
7 years ago
Dmitry Naumenko
7e7faeebd1
Fixed excess escaping in Command::batchInsert() ( #13236 )
7 years ago
Dmitry Naumenko
64d8af61a6
Fixes for PHP 7.2 compatibility ( #14959 )
7 years ago
Pavel Chaplygin
d49ec7b8be
Fixes #14633 : Add miliseconds to log time in `\yii\log\Target`
7 years ago
Klimov Paul
560d5b53e7
unit test fix
7 years ago
Paul Klimov
744b87fabc
Fixes #4479 : Implemented REST filters
7 years ago
Herbert Maschke
c9de616b4c
Fixes #13403 : Added 'permissions' additionally to 'roles' in `yii\filters\AccessRule` in order to be able to specify these separately
7 years ago
SilverFire - Dmitry Naumenko
ea2c475ea7
Moved `HTTP_AUTHORIZATION` header check to `\yii\web\Request`, added docs
...
Closes #13564
7 years ago
Robert Korulczyk
c78201899b
Fixes #13720 : Improve `yii\helpers\FormatConverter::convertDatePhpToIcu()` to handle escaped chars correctly
7 years ago
SilverFire - Dmitry Naumenko
0b2e79eac5
Fixed BasicHttpAuth to respect HTTP_AUTHORIZATION header
...
Closes #13564
7 years ago
Robert Korulczyk
f5c98f9664
Fixed tests for HHVM ( #14941 )
7 years ago