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
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
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
Klimov Paul
51a442d6c8
Fixed `yii\db\ActiveRecord` does not updates attribute specified at `optimisticLock()` after save
9 years ago
John Was
a63fc2ff59
properly quote sequence name in Schema::getLastInsertId()
...
fixes #8483
close #8515
9 years ago
Klimov Paul
1641919643
Fix for `tests` directory recomposition
10 years ago
Klimov Paul
c92b1a3758
permissions for Travis scripts fixed
10 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago