Commit Graph

39 Commits

Author SHA1 Message Date
Nikola Kovacs
84124bec4f Fix grammar in migration template docblocks. (#12148)
Fix typo in test file's name.
2016-08-12 17:55:43 +03:00
Daniel Gómez Pan
83496853c8 Fixes #11461: Fixed migration tool error when create migrate with comma in defaultValue 2016-07-28 01:15:55 +03:00
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
2016-07-11 23:49:43 +02:00
Robert Korulczyk
5992eea571 Fixes #11808: _table and _column suffixes are now required when generating migration 2016-07-04 12:50:37 +03:00
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
2016-05-24 09:35:23 +03:00
SilverFire - Dmitry Naumenko
b976f638d8 Added test for PgSQL BIGINT column to ensure typecasting works OK
Closes #11286
2016-05-15 23:05:30 +03:00
SilverFire - Dmitry Naumenko
8c2a70b3e7 Moved TraversableObject to yiiunit\data\base namespace 2016-04-26 13:30:37 +03:00
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
2016-04-22 16:39:06 +02:00
Carsten Brandt
fd68e6814e added failing test for #11088 2016-04-22 11:01:53 +02:00
SilverFire - Dmitry Naumenko
c9dfc90be0 Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder 2016-04-19 12:21:33 +03:00
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.
2016-04-08 10:36:38 +03:00
SilverFire - Dmitry Naumenko
3b32359fa9 Updated ActiveRecordTestTrait to ensure nested relations work as expected 2016-04-07 14:50:09 +03:00
Chris Harris
b8e44b2f47 Merge branch 'master' of git://github.com/yiisoft/yii2 into 9562-add-char-datatype 2016-03-14 05:33:41 -07:00
Alexander Makarov
b2f16df9dc Fixed file header comment 2016-03-04 16:04:01 +03:00
Chris Harris
3761682edf Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB. 2016-02-22 04:53:14 -08:00
Carsten Brandt
ce35739469 joinWith implementation cleanup 2016-02-12 12:45:29 +01:00
Carsten Brandt
3f8df39f45 more tests for joinWith alias
also test on joining the same relation twice
2016-02-12 12:35:29 +01:00
Carsten Brandt
94571e2c23 improved tests for ActiveQuery::joinWith alias 2016-02-12 12:35:29 +01:00
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
2016-02-07 23:08:52 +02:00
SilverFire - Dmitry Naumenko
1e48e020cb Merge branch '10263' of https://github.com/githubjeka/yii2 into githubjeka-10263 2016-01-19 00:04:20 +02:00
SilverFire - Dmitry Naumenko
01a6235059 #9333: Fixed AssetManager to publish bundles using symlink with nested directories in hash
Closes #9333
2015-12-20 16:24:40 +02:00
Alexander Makarov
615a29f04e More fixes for MSSQL tests 2015-12-09 03:07:32 +03:00
Alexander Makarov
619c50d933 Fixed MSSQL initial schema for tests 2015-12-08 23:46:01 +03:00
Klimov Paul
170c376648 yii\helpers\VarDumper::dump() now respects PHP magic method __debugInfo() 2015-12-05 11:21:49 +02:00
githubjeka
a215013f68 Missing phpDoc properties has been added 2015-11-27 19:48:20 +03:00
Carsten Brandt
939b3a9283 added scenario test while reproducing #10034 2015-10-29 14:57:51 +01:00
Matvey Vasenin
ce6e92b736 add comment control methods 2015-08-14 12:27:21 +03:00
Alexander Makarov
357bce51bb Tests for #9006 2015-07-30 19:25:52 +03:00
Carsten Brandt
cd6121547d skip memcache on php 7
fixes #8975
2015-07-03 17:32:35 +02:00
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
2015-06-14 19:29:57 +02:00
Alexander Makarov
a003a8fb48 Fixed broken postgresql test schema 2015-05-28 11:43:01 +03:00
Klimov Paul
51a442d6c8 Fixed yii\db\ActiveRecord does not updates attribute specified at optimisticLock() after save 2015-05-26 11:53:34 +03:00
John Was
57db031d1c Merge branch 'master' into 7374-inserting-ar-without-values 2015-05-24 23:29:40 +02:00
John Was
a63fc2ff59 properly quote sequence name in Schema::getLastInsertId()
fixes #8483
close #8515
2015-05-21 22:42:34 +02:00
Jan Was
5f099b3f8d Merge branch 'master' into 7374-inserting-ar-without-values 2015-04-21 09:49:46 +02:00
Klimov Paul
1641919643 Fix for tests directory recomposition 2015-04-20 11:28:35 +03:00
Klimov Paul
aa9399c6c0 Merge branch 'master' of github.com:yiisoft/yii2 into 5042-insert-returning 2015-04-20 11:23:38 +03:00
Klimov Paul
c92b1a3758 permissions for Travis scripts fixed 2015-04-16 16:38:49 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00