Nikolay Oleynikov
558f2aa02a
Fixes #13827 Generate "safe" methods uncommented by default
8 years ago
Nikolay Oleynikov
cf4eea1878
Fixes #13823 : Refactored migrations template
8 years ago
Alexander Makarov
bc59d5da85
Fixes #13707 : Fixed `\yii\web\ErrorHandler` and `\yii\web\ErrorAction` not setting correct response code to response object before rendering error view
8 years ago
Elvira Sheina
2de18cf9a5
Fixes #13087 : Fixed getting active validators for safe attribute
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Sergey Makinen
a5ab79746b
Fixes Oracle’s test fixture
8 years ago
Tobias Munk
7b43cf09f1
added separate docker config for testing
8 years ago
Tobias Munk
f5ab85c393
updated debug settings (+56 squashed commits)
...
Squashed commits:
[c42f30c] updated base image, added docs & local test script
[88f0c40] debug
[6220c94] fixed network isolation
[c63c7c3] test mssql only on test/mssql branch
[74efc78] fixed isolation in after_script
[02b895b] updated test setup
[3335f39] updated retry
[bd123b2] updated service checks
[45e4c90] updated build
[d54da7a] updated after_script
[5a4c726] 🏭 wait for mysql
[08db878] fixed typo
[ea53c1e] updated build stages
[9807ce3] fixed typos
[cf9f64e] fixed mssql testing
[08001d6] added db create for mssql
[62f6b65] run travis (gitlab simulation) only in travis branch
[cf63da4] streamlined build
[76808ac] updated test jobs
[18d79b5] fixed test error
[7b2bce6] updated build & composer.lock
[244623a] updated build
[86bd71b] fixed cleanup
[86ab2e8] fixed cleanup
[091d4b8] fixed tests
[2d315b5] fixed build config
[2913644] fixed project names
[f53b823] refactored build config
[5a791fb] refactored docker db-tests
[b4479b0] revert
[a975fa5] updated gitlab build
[4e4e5e4] updated mssql setup
[d6ff03b] added sleep workaround
[578b102] removed host volumes in test
[928f50b] fixed path
[967ab10] updated tests
[520f317] bootstrap cubrid
[5f245e1] 🏭 fixed cubrid tests
[940dbbc] 🏭 pinned cubrid version 9.3.6.0002
[8d5ea69] 📝 dockerized test commands
[9954b54] updated cubrid
[fb3afac] updated docs
[3f63ced] updated isolation
[bdc3c83] 🏭 build cubrid
[b777911] 🏭 disabled mssql, updated cubrid
[36534e7] added travis-a-like stage
[6546f02] updated GitLab build
[c046096] updated test setup
- added mssql and cubrid stack
[5a0e635] disabled host-volume
[75cf342] fixed test
[8de0794] fixed testing
[465d27a] added stages
[63aa950] added script
[68eecef] fixed typo
[00e4b88] updated Docker build
[f9072cc] added dockerized test setup
8 years ago
SilverFire - Dmitry Naumenko
24ad05de5b
Refactored `yii\web\ErrorAction` to make it reusable
8 years ago
Robert Korulczyk
2a68351ec3
Fix tests on travis. ( #13238 )
8 years ago
SilverFire - Dmitry Naumenko
88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()`
...
Closes #12213
8 years ago
Zlakomanov Alexander
b8bf0d0c0c
added hint into foreign keys query for oracle 11g optimisation
...
update oci tests
improved varible name
Closes #13122
8 years ago
Alexey Rogachev
bd85b7ced2
Closes #6242 : Access to validator in inline validation ( #13027 )
...
* Closes #6242 : Access to validator in inline validation
* Updated PHPDoc according to PR review [skip ci]
* Imrpoved PHPDoc, updated guide info [skip ci]
* Fixes related with PR review
* Corrected CHANGELOG [skip ci]
* Update input-validation.md
added version info
8 years ago
Sergey Makinen
f8787b4471
Adds tests for yii\filters\PageCache
8 years ago
Carsten Brandt
1d4eb072d3
readded comments to phpmd rules #13139
8 years ago
Bizley
5092c9666d
Code Climate PHPMD settings ( #13139 )
...
* codeclimate phpmd rulesets
* PHPMD ruleset
* phpmd_ruleset moved
* Delete phpmd_ruleset.xml
* ruleset moved
8 years ago
SG5
1141fc81a7
Fixes #12735 : Fixed `yii\console\controllers\MigrateController` creating multiple primary keys for field `bigPrimaryKey:unsigned`
8 years ago
Alexey Rogachev
e94ca4793b
Install APC on Ubuntu trusty
...
Trusty does not have APC preinstalled (see
https://github.com/travis-ci/travis-ci/issues/5618 ,
https://github.com/travis-ci/travis-ci/issues/6853 ) so we need to
install it manually using PECL. `yes ''` allows to skip prompts and fill
it with default values.
8 years ago
Fabian Peter Hammerle
46da2df98d
yii\db\mysql\Schema::loadColumnSchema sets enumValues attribute incorrectly if enum definition contains comma
...
(i.e. "enum('a','B','c,D')" -> ['a','B','c','D'] instead of expected ['a','B','c,D'])
8 years ago
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
8 years ago
SilverFire - Dmitry Naumenko
24a5532ca9
Added unit tests for #12750
8 years ago
Alexander Zlakomanov
b48b1a0657
Fixes #12904 : Fixed lowercase table name in migrations
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
76d8bc9f94
enhance tests for DataColumn ( #12615 )
8 years ago
Daniel Gomez Pan
ae42d7b281
Fix #12423 Fix bug migration tool when creating fields with brackets in comment
8 years ago
SilverFire - Dmitry Naumenko
c3622bb1ad
Added tests for #10429
8 years ago
Carsten Brandt
1edf562800
better version match for travis memcache
8 years ago
Carsten Brandt
9524672cd1
skip memcache extension on PHP 7 but keep memcacheD
8 years ago
Bizley
3deb6900b8
Yii 2 name fix ( #12448 )
...
To match Documentation Style Guide
> Yii 2.0 or Yii 2 (not Yii2 or Yii2.0)
8 years ago
Nikola Kovacs
84124bec4f
Fix grammar in migration template docblocks. ( #12148 )
...
Fix typo in test file's name.
8 years ago
Daniel Gómez Pan
83496853c8
Fixes #11461 : Fixed migration tool error when create migrate with comma in defaultValue
8 years ago
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
8 years ago
Robert Korulczyk
5992eea571
Fixes #11808 : `_table` and `_column` suffixes are now required when generating migration
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
SilverFire - Dmitry Naumenko
b976f638d8
Added test for PgSQL BIGINT column to ensure typecasting works OK
...
Closes #11286
8 years ago
SilverFire - Dmitry Naumenko
8c2a70b3e7
Moved TraversableObject to yiiunit\data\base namespace
9 years ago
Carsten Brandt
37d2373911
added tests for #9047
...
1. verify it only affects composite primary key situation
2. add failing test for composite primary key situation with join
9 years ago
Carsten Brandt
fd68e6814e
added failing test for #11088
9 years ago
Ivaylo Ushev
5921865459
Fixed : #11270 - Error when link record in one to many relation. ( #11301 )
...
Fixed : #11270 - Error when link record in one to many relation.
9 years ago
SilverFire - Dmitry Naumenko
3b32359fa9
Updated ActiveRecordTestTrait to ensure nested relations work as expected
9 years ago
Alexander Makarov
b2f16df9dc
Fixed file header comment
9 years ago
Chris Harris
3761682edf
Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB.
9 years ago
Carsten Brandt
ce35739469
joinWith implementation cleanup
9 years ago
Carsten Brandt
3f8df39f45
more tests for joinWith alias
...
also test on joining the same relation twice
9 years ago
Carsten Brandt
94571e2c23
improved tests for ActiveQuery::joinWith alias
9 years ago
SilverFire - Dmitry Naumenko
32c424da10
Fixed i18n message sources to load fallback messages in a smarter way
...
Added migration and unit-tests for `yii\i18n\DbMessageSource`
Closes #7964
9 years ago
SilverFire - Dmitry Naumenko
01a6235059
#9333 : Fixed AssetManager to publish bundles using symlink with nested directories in `hash`
...
Closes #9333
9 years ago
Alexander Makarov
615a29f04e
More fixes for MSSQL tests
9 years ago
Alexander Makarov
619c50d933
Fixed MSSQL initial schema for tests
9 years ago
Klimov Paul
170c376648
`yii\helpers\VarDumper::dump()` now respects PHP magic method `__debugInfo()`
9 years ago