|
|
@@ -780,9 +780,7 @@ class QueryRegressionTest extends TestCase
|
|
|
public function testHasManyEagerLoadingUniqueKey()
|
|
|
{
|
|
|
$table = TableRegistry::get('ArticlesTags');
|
|
|
- $table->belongsTo('Articles', [
|
|
|
- 'strategy' => 'select'
|
|
|
- ]);
|
|
|
+ $table->belongsTo('Articles');
|
|
|
|
|
|
$result = $table->find()
|
|
|
->contain(['Articles' => function ($q) {
|