File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
dev/tests/integration/testsuite/Magento/Sales Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -85,4 +85,19 @@ public function testInvoiceEmailSenderExecute()
85
85
86
86
$ this ->assertCount ($ expectedResult , $ sendCollection ->getItems ());
87
87
}
88
+
89
+ /**
90
+ * @inheritdoc
91
+ * @throws \Magento\Framework\Exception\LocalizedException
92
+ * @throws \Exception
93
+ */
94
+ protected function tearDown ()
95
+ {
96
+ /** @var \Magento\Config\Model\Config $defConfig */
97
+ $ defConfig = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()
98
+ ->create (\Magento \Config \Model \Config::class);
99
+ $ defConfig ->setScope (\Magento \Framework \App \Config \ScopeConfigInterface::SCOPE_TYPE_DEFAULT );
100
+ $ defConfig ->setDataByPath ('sales_email/general/async_sending ' , 0 );
101
+ $ defConfig ->save ();
102
+ }
88
103
}
Original file line number Diff line number Diff line change 6
6
declare (strict_types=1 );
7
7
8
8
require 'default_rollback.php ' ;
9
-
10
- /** @var \Magento\Config\Model\Config $defConfig */
11
- $ defConfig = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()
12
- ->create (\Magento \Config \Model \Config::class);
13
- $ defConfig ->setScope (\Magento \Framework \App \Config \ScopeConfigInterface::SCOPE_TYPE_DEFAULT );
14
- $ defConfig ->setDataByPath ('sales_email/general/async_sending ' , 0 );
15
- $ defConfig ->save ();
9
+ require __DIR__ . '/../../../Magento/Store/_files/second_store_rollback.php ' ;
You can’t perform that action at this time.
0 commit comments