File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
dev/tests/integration/testsuite/Magento/Sales/Model Expand file tree Collapse file tree 1 file changed +15
-0
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
}
You can’t perform that action at this time.
0 commit comments