Skip to content

Commit d5605e8

Browse files
MC-18527: Merge release branch into 2.3-develop
- fix integration tests
1 parent 0097469 commit d5605e8

File tree

1 file changed

+6
-1
lines changed
  • dev/tests/integration/testsuite/Magento/Sales/_files

1 file changed

+6
-1
lines changed

dev/tests/integration/testsuite/Magento/Sales/_files/quotes.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@
1919
/** @var QuoteRepository $quoteRepository */
2020
$quoteRepository = $objectManager->get(QuoteRepository::class);
2121

22+
/** @var Magento\Store\Model\Store $store */
23+
$store = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(\Magento\Store\Model\Store::class);
24+
$store->load('fixture_second_store');
25+
$storeId = $store->getId();
26+
2227
$quotes = [
2328
'quote for first store' => [
2429
'store' => 1,
2530
],
2631
'quote for second store' => [
27-
'store' => 2,
32+
'store' => $storeId,
2833
],
2934
];
3035

0 commit comments

Comments
 (0)