Skip to content

Commit f2d57c8

Browse files
committed
ACP2E-3413: All products are indexed with [is_out_of_stock] = 1 when the SKU is not set as a searchable attribute
1 parent bd65f3a commit f2d57c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

InventoryElasticsearch/Test/Integration/Model/Adapter/BatchDataMapper/ProductDataMapperTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2022 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

@@ -94,8 +94,8 @@ public function testMapSelectAttributeWithDifferentStoreLabels(): void
9494
'select_attribute_value' => 'Table_fixture_second_store'
9595
],
9696
];
97-
$defaultStoreMap[$productId] += ['is_out_of_stock' => 1];
98-
$secondStoreMap[$productId] += ['is_out_of_stock' => 1];
97+
$defaultStoreMap[$productId] += ['is_out_of_stock' => 0];
98+
$secondStoreMap[$productId] += ['is_out_of_stock' => 0];
9999

100100
$data = [
101101
$productId => [

0 commit comments

Comments
 (0)