Skip to content

Commit 09b760a

Browse files
committed
Updated OrderGridCollectionFilterTest file
1 parent bc56113 commit 09b760a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Sales/Plugin/Model/ResourceModel/Order/OrderGridCollectionFilterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ public function testAroundAddFieldToFilter($mainTable, $resourceModel, $field, $
8080

8181
if ($mainTable == 'sales_order_grid') {
8282
$condition = ['from' => $fieldValue , 'locale' => "en_US", 'datetime' => true];
83-
$selectCondition = "WHERE (`{$field}` >= '{$convertedDate}')";
83+
$selectCondition = "WHERE (`main_table`.`{$field}` >= '{$convertedDate}')";
8484
} else {
8585
$condition = ['qteq' => $fieldValue];
86-
$selectCondition = "WHERE (((`{$field}` = '{$convertedDate}')))";
86+
$selectCondition = "WHERE (((`main_table`.`{$field}` = '{$convertedDate}')))";
8787
}
8888

8989
$this->searchResult = $this->objectManager->create(

0 commit comments

Comments
 (0)