Skip to content

Commit de8fb61

Browse files
authored
Adapt to Yii DB refactoring (#438)
1 parent 46f8cf3 commit de8fb61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ActiveRelationTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
use Yiisoft\Db\Exception\Exception;
1212
use InvalidArgumentException;
1313
use Yiisoft\Db\Exception\InvalidConfigException;
14-
use Yiisoft\Db\QueryBuilder\Condition\ArrayOverlapsCondition;
1514
use Yiisoft\Db\QueryBuilder\Condition\InCondition;
15+
use Yiisoft\Db\QueryBuilder\Condition\ArrayOverlapsCondition;
1616
use Yiisoft\Db\QueryBuilder\Condition\JsonOverlapsCondition;
1717

1818
use function array_column;

tests/ActiveRecordTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ public function testRelationViaJson(): void
11271127
$this->assertSame([2, 3], ArArrayHelper::getColumn($promotions[2]->getItemsViaJson()[1]->getPromotionsViaJson(), 'id'));
11281128
}
11291129

1130-
public function testLazzyRelationViaJson(): void
1130+
public function testLazyRelationViaJson(): void
11311131
{
11321132
if (in_array($this->db()->getDriverName(), ['oci', 'sqlsrv'], true)) {
11331133
$this->markTestSkipped('Oracle and MSSQL drivers do not support JSON columns.');

0 commit comments

Comments
 (0)