Skip to content

Commit

Permalink
FRW-1633 Added PostgreSQL v17 support. (#11109)
Browse files Browse the repository at this point in the history
FRW-1633 Added PostgreSQL v17 support.
  • Loading branch information
asmarovydlo authored Oct 10, 2024
1 parent b969a63 commit 20abe8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Spryker/Zed/Oms/Persistence/OmsQueryContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ protected function buildSubQueryForSalesOrderItemsWithExpiredTimeoutsQuery(
->distinct()
->addSelectColumn(SpySalesOrderItemTableMap::COL_FK_SALES_ORDER);

$subQuery->orderByFkSalesOrder(Criteria::ASC);
$subQuery = $this->addEventTimeoutFilterToSalesOrderItemQuery($subQuery, $storeName);
$subQuery = $this->addStoreFilterToSalesOrderItemQuery($subQuery, $storeName);
$subQuery = $this->addOmsProcessorIdentifierFilterToSalesOrderItemQuery($subQuery, $omsProcessorIdentifiers);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public function testCheckTimeouts(): void
public function timeoutDataProvider(): array
{
return [
'no store name, no limit' => [3, null, null],
'no store name, limit' => [1, null, 1], // Will take only first created order
'no store name, no limit' => [3, null, null],
'US store, no limit' => [2, 'US', null],
'DE store, no limit' => [1, 'DE', null],
'US store, no limit, single processor identifier' => [2, 'US', null, [2]],
Expand Down

0 comments on commit 20abe8c

Please sign in to comment.