File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
dev/tests/integration/testsuite/Magento/Sales/_files Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 55 */
66declare (strict_types=1 );
77
8+ use Magento \Store \Model \StoreRepository ;
89use Magento \Quote \Model \QuoteFactory ;
910use Magento \Quote \Model \QuoteRepository ;
1011use Magento \TestFramework \Helper \Bootstrap ;
1819$ quoteFactory = $ objectManager ->get (QuoteFactory::class);
1920/** @var QuoteRepository $quoteRepository */
2021$ quoteRepository = $ objectManager ->get (QuoteRepository::class);
22+ /** @var StoreRepository $storeRepository */
23+ $ storeRepository = $ objectManager ->get (StoreRepository::class);
24+
25+ $ defaultStore = $ storeRepository ->getActiveStoreByCode ('default ' );
26+ $ secondStore = $ storeRepository ->getActiveStoreByCode ('fixture_second_store ' );
2127
2228$ quotes = [
2329 'quote for first store ' => [
24- 'store ' => 1 ,
30+ 'store ' => $ defaultStore -> getId () ,
2531 ],
2632 'quote for second store ' => [
27- 'store ' => 2 ,
33+ 'store ' => $ secondStore -> getId () ,
2834 ],
2935];
3036
You can’t perform that action at this time.
0 commit comments