37 Commits (e0e07c9c1b477fb8366646c06b257824ea6d1ffa)

Author SHA1 Message Date
Sam Mousa e0e07c9c1b
Added test for indexing by related fields. 8 years ago
usix298 13c2f5370f Fixed formatting in tests [skip ci] 8 years ago
Alexander Makarov 3f8e8a89eb Used more specific unit test assertions in framework tests 8 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 8 years ago
Nikolay Oleynikov 323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 8 years ago
SilverFire - Dmitry Naumenko 88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()` 8 years ago
Klimov Paul 50b668eee8 redundant code removed 8 years ago
Klimov Paul c17766181f Added `QueryInterface::emulateExecution()` 8 years ago
p.chapl 3e1588b5b9 Added unit tests for #9561 8 years ago
SilverFire - Dmitry Naumenko 8eaf4e2ffe #12544 - Added mote test cases for `AssetBundleTest::testRegisterFileAppendTimestamp()` 8 years ago
Klimov Paul ea03f56d42 `BaseActiveRecord` methods `canGetProperty()` and `canSetProperty()` improved to handle attribute list fetching failure. 8 years ago
Klimov Paul 75439d367d Fixed `canGetProperty()` and `canSetProperty()` returns `false` for `yii\db\BaseActiveRecord` attributes 8 years ago
Klimov Paul 143f9070af Fixed `yii\db\BaseActiveRecord::updateAttributes()` change `isNewRecord` state for the new model 8 years ago
Laszlovl 0f640c7138 Make sure inverseOf relations are also populated during dynamic relational queries 8 years ago
Carsten Brandt a46e88dea5 fixed inverseof test assertation 8 years ago
Carsten Brandt 8ba032d147 refactored database tests 8 years ago
Carsten Brandt 4411a74ebd proper fix for #9425, adjust changes from #11363 9 years ago
Carsten Brandt 37d2373911 added tests for #9047 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) 9 years ago
Carsten Brandt ce35739469 joinWith implementation cleanup 9 years ago
Carsten Brandt 3f8df39f45 more tests for joinWith alias 9 years ago
Carsten Brandt 94571e2c23 improved tests for ActiveQuery::joinWith alias 9 years ago
Carsten Brandt 5f19e7aa41 Added Alias Syntax for joinWith() 9 years ago
Carsten Brandt 157d6c79cc fixes #4972 by adding and `alias()` to `ActiveQuery` 9 years ago
nainoon 076329bfba add test for join with alias 9 years ago
Alexander Makarov 615a29f04e More fixes for MSSQL tests 9 years ago
Alexander Makarov 8765cae71c Reverted #9656 because of BC break (reverted from commit 4a464afe9b) 9 years ago
Sam Mousa 4a464afe9b Fixes #9656: `yii\db\BaseActiveRecord` refactored in order to getting, setting and unsetring attribute values using the same approach 9 years ago
Alexander Makarov 357bce51bb Tests for #9006 9 years ago
Carsten Brandt d0c6cb7700 abort removing duplicate records when pk is not in result set 9 years ago
Klimov Paul a849e815df Fixed `yii\db\ActiveQuery` produces incorrect SQL for aggregations, when `sql` field is set 9 years ago
Klimov Paul 51a442d6c8 Fixed `yii\db\ActiveRecord` does not updates attribute specified at `optimisticLock()` after save 9 years ago
Klimov Paul 6d96d3cbee Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set 10 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
Jan Waś 9e6b7dea24 add an unit test, which fails for postgresql and oracle 10 years ago
John Was 4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER 10 years ago
Jose Lorente 98759201ac Fixed bug #7271. Classes that call '*::populateRecord()' after retrieving data from ddbb call now the method on the class of the model returned by '*::instantiate()'. Tests for mysql, elasticsearch and mongodb attached. 10 years ago
Carsten Brandt 1b4d894c9d created test for #5341 10 years ago
Qiang Xue aa8c013ebf Fixes #3197: Using `ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results 10 years ago
Qiang Xue b9c97ff2aa Fixes #4938: When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated 10 years ago
Qiang Xue 2150fa3239 Fixes #4970: `joinWith()` called by a relation was ignored by `yii\db\ActiveQuery` 10 years ago
Stephen Seliuk 70ed5d5c01 Test for fix 10 years ago
Carsten Brandt c4dc9470be created a test case to verify #4682 10 years ago
Qiang Xue 1b4a9b62cd Fixes #3568: When the primary query sets `asArray`, it is not respected by the `via` relational query 10 years ago
Alexander Makarov 0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 10 years ago
Carsten Brandt 0208f289c3 fixed test breaks 10 years ago
Carsten Brandt d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL 10 years ago
Alexander Makarov 0003b10b02 ElasticSearch tests fix 10 years ago
NmDimas 95d2b29bff Change unit test to Unlink and add test to unlinkAll 10 years ago