This commit is contained in:
Yuri Kuznetsov
2024-11-07 11:32:30 +02:00
parent 184ba90d43
commit 186ce891f7
@@ -129,7 +129,21 @@ class FiltersTest extends TestCase
'midKeys' => ['nId', 'fId'],
'relationName' => 'TestContact'
], 'contacts')
]
],
[
'account',
RelationDefs::fromRaw([
'type' => RelationType::BELONGS_TO,
'entity' => Account::ENTITY_TYPE,
], 'account')
],
[
'contact',
RelationDefs::fromRaw([
'type' => RelationType::BELONGS_TO,
'entity' => Contact::ENTITY_TYPE,
], 'contact')
],
]);
$this->queryBuilder
@@ -204,7 +218,21 @@ class FiltersTest extends TestCase
'midKeys' => ['nId', 'fId'],
'relationName' => 'TestContact'
], 'contacts')
]
],
[
'account',
RelationDefs::fromRaw([
'type' => RelationType::BELONGS_TO,
'entity' => Account::ENTITY_TYPE,
], 'account')
],
[
'contact',
RelationDefs::fromRaw([
'type' => RelationType::BELONGS_TO,
'entity' => Contact::ENTITY_TYPE,
], 'contact')
],
]);
$this->queryBuilder