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
cuiliang
c0df003ac0
merge from master
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
githubjeka
a215013f68
Missing phpDoc properties has been added
9 years ago
Carsten Brandt
939b3a9283
added scenario test while reproducing #10034
9 years ago
Matvey Vasenin
ce6e92b736
add comment control methods
9 years ago
Alexander Makarov
357bce51bb
Tests for #9006
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Carsten Brandt
cd6121547d
skip memcache on php 7
...
fixes #8975
9 years ago
Carsten Brandt
d0c6cb7700
abort removing duplicate records when pk is not in result set
...
in this cases it does not make sense to remove duplicates as the result is not on record level anymore.
This could be the case after GROUP BY has been applied.
fixes #8772
9 years ago
Alexander Makarov
a003a8fb48
Fixed broken postgresql test schema
9 years ago