Skip to content

Commit 974e35b

Browse files
committed
Test fix
1 parent 2edaf15 commit 974e35b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/UrlRewrite/Test/Unit/Model/ResourceModel/UrlRewriteCollectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function testAddStoreFilterIfStoreIsArray($storeId, $withAdmin, $conditio
107107
{
108108
$this->connectionMock->expects($this->once())
109109
->method('prepareSqlCondition')
110-
->with('store_id', ['in' => $condition]);
110+
->with('main_table.store_id', ['in' => $condition]);
111111

112112
$this->collection->addStoreFilter($storeId, $withAdmin);
113113
}
@@ -138,7 +138,7 @@ public function testAddStoreFilterIfStoreIsInt($storeId, $withAdmin, $condition)
138138

139139
$this->connectionMock->expects($this->once())
140140
->method('prepareSqlCondition')
141-
->with('store_id', ['in' => $condition]);
141+
->with('main_table.store_id', ['in' => $condition]);
142142

143143
$this->collection->addStoreFilter($storeId, $withAdmin);
144144
}

0 commit comments

Comments
 (0)