File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
dev/tests/integration/testsuite/Magento/Sales/Controller/Adminhtml/Order/Create Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,24 @@ public function testUpdateCustomerNote(): void
265
265
$ this ->assertStringContainsString ('checked="checked" ' , $ matches ['attributes ' ]);
266
266
}
267
267
268
+ /**
269
+ * Check that specific store id is setting into the current stores.
270
+ *
271
+ * @return void
272
+ * @magentoDataFixture Magento/Store/_files/second_website_with_store_group_and_store.php
273
+ * @magentoAppArea adminhtml
274
+ * @magentoDbIsolation disabled
275
+ * @magentoAppIsolation enabled
276
+ * @throws NoSuchEntityException
277
+ */
278
+ public function testSetSpecificStoreIdIntoCurrentStore ()
279
+ {
280
+ $ params = [];
281
+ $ post = ['store_id ' => $ this ->storeManager ->getStore ('fixture_second_store ' )->getId ()];
282
+ $ this ->dispatchWitParams ($ params , $ post );
283
+ $ this ->assertEquals ('fixture_second_store ' , $ this ->storeManager ->getStore ()->getCode ());
284
+ }
285
+
268
286
/**
269
287
* Check customer quotes
270
288
*
You can’t perform that action at this time.
0 commit comments