6 Commits

Author SHA1 Message Date
Carsten Brandt
6df20a0e7e adjusted test data to make existing relation tests fail
some tests accidentally passed because they matched the primary key
which is named `id` in all tables against similar primary key values.
as soon as primary key values differ among tables, these tests are
failing.

reproduce #5341 on existing tests...
2016-07-05 19:59:14 +02:00
Ezekiel Fernandez
4c49f0f456 test for eager loading when there are 3 tables between the relation using via() to link it 2016-07-04 15:35:50 +02:00
raoul
60f6ecf063 yii\db\BaseActiveRecord now triggers event EVENT_AFTER_REFRESH` after a record is refreshed
fixes #9604
close #10867
2016-04-22 17:14:41 +02:00
SilverFire - Dmitry Naumenko
3b32359fa9 Updated ActiveRecordTestTrait to ensure nested relations work as expected 2016-04-07 14:50:09 +03:00
Carsten Brandt
91777ae7cc added test for explicit primary Key on auto increment column
relates to #8071
https://github.com/yiisoft/yii2/pull/8071/files#r28787581
2015-04-21 17:20:32 +02:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00