File tree Expand file tree Collapse file tree 6 files changed +3
-13
lines changed
Backend/Controller/Adminhtml/System/Store
Store/Test/Unit/Model/Config/Importer/Processor
dev/tests/integration/testsuite/Magento Expand file tree Collapse file tree 6 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ private function processWebsiteSave($postData)
46
46
*/
47
47
private function processStoreSave ($ postData )
48
48
{
49
- $ eventName = 'store_edit ' ;
49
+ // $eventName = 'store_edit';
50
50
/** @var \Magento\Store\Model\Store $storeModel */
51
51
$ storeModel = $ this ->_objectManager ->create (\Magento \Store \Model \Store::class);
52
52
$ postData ['store ' ]['name ' ] = $ this ->filterManager ->removeTags ($ postData ['store ' ]['name ' ]);
@@ -56,7 +56,7 @@ private function processStoreSave($postData)
56
56
$ storeModel ->setData ($ postData ['store ' ]);
57
57
if ($ postData ['store ' ]['store_id ' ] == '' ) {
58
58
$ storeModel ->setId (null );
59
- $ eventName = 'store_add ' ;
59
+ // $eventName = 'store_add';
60
60
}
61
61
$ groupModel = $ this ->_objectManager ->create (
62
62
\Magento \Store \Model \Group::class
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ class EmailSenderHandler
60
60
* @param \Magento\Framework\App\Config\ScopeConfigInterface $globalConfig
61
61
* @param IdentityInterface|null $identityContainer
62
62
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
63
- * @throws \InvalidArgumentException
64
63
*/
65
64
public function __construct (
66
65
\Magento \Sales \Model \Order \Email \Sender $ emailSender ,
Original file line number Diff line number Diff line change @@ -244,8 +244,6 @@ public function testRun()
244
244
->method ('get ' )
245
245
->with ('test ' )
246
246
->willReturn ($ this ->storeMock );
247
- $ this ->storeResourceMock ->expects ($ this ->once ())
248
- ->method ('addCommitCallback ' );
249
247
250
248
$ this ->registryMock ->expects ($ this ->once ())
251
249
->method ('unregister ' )
Original file line number Diff line number Diff line change @@ -247,8 +247,6 @@ public function testRun()
247
247
$ this ->storeResourceMock ->expects ($ this ->once ())
248
248
->method ('save ' )
249
249
->with ($ this ->storeMock );
250
- $ this ->storeResourceMock ->expects ($ this ->once ())
251
- ->method ('addCommitCallback ' );
252
250
253
251
$ this ->model ->run ($ data );
254
252
}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ protected function setUp()
55
55
56
56
/**
57
57
* @magentoAppIsolation enabled
58
- * @magentoDbIsolation enabled
58
+ * @magentoDbIsolation disabled
59
59
* @magentoDataFixture Magento/Sales/_files/invoice_list_different_stores.php
60
60
*/
61
61
public function testInvoiceEmailSenderExecute ()
Original file line number Diff line number Diff line change 30
30
);
31
31
$ store ->save ();
32
32
}
33
-
34
- /* Refresh stores memory cache */
35
- //\Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get(
36
- // \Magento\Store\Model\StoreManagerInterface::class
37
- //)->reinitStores();
You can’t perform that action at this time.
0 commit comments