File tree Expand file tree Collapse file tree 1 file changed +39
-3
lines changed
dev/tests/functional/tests/app/Magento/Downloadable/Test/TestCase Expand file tree Collapse file tree 1 file changed +39
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \Downloadable \Test \TestCase ;
8
8
9
- use Magento \ Tax \ Test \ TestCase \TaxCalculationTest ;
9
+ use Mtf \ TestCase \Scenario ;
10
10
11
11
/**
12
12
* Test tax calculation with downloadable product.
30
30
* @group Tax_(CS)
31
31
* @ZephyrId MAGETWO-32076
32
32
*/
33
- class DownloadableTaxCalculationTest extends TaxCalculationTest
33
+ class DownloadableTaxCalculationTest extends Scenario
34
34
{
35
- //
35
+ /**
36
+ * Skip failed tests.
37
+ *
38
+ * @return void
39
+ */
40
+ public static function setUpBeforeClass ()
41
+ {
42
+ self ::markTestIncomplete ("Epic: MAGETWO-30073 " );
43
+ }
44
+
45
+ /**
46
+ * Runs tax calculation test.
47
+ *
48
+ * @return void
49
+ */
50
+ public function test ()
51
+ {
52
+ $ this ->executeScenario ();
53
+ }
54
+
55
+ /**
56
+ * Tear down after each test.
57
+ *
58
+ * @return void
59
+ */
60
+ public function tearDown ()
61
+ {
62
+ $ this ->objectManager ->create ('\Magento\Tax\Test\TestStep\DeleteAllTaxRulesStep ' )->run ();
63
+ $ this ->objectManager ->create ('\Magento\SalesRule\Test\TestStep\DeleteAllSalesRuleStep ' )->run ();
64
+ $ this ->objectManager ->create ('\Magento\CatalogRule\Test\TestStep\DeleteAllCatalogRulesStep ' )->run ();
65
+
66
+ // TODO: Move set default configuration to "tearDownAfterClass" method after fix bug MAGETWO-29331
67
+ $ this ->objectManager ->create (
68
+ 'Magento\Core\Test\TestStep\SetupConfigurationStep ' ,
69
+ ['configData ' => 'default_tax_configuration ' ]
70
+ )->run ();
71
+ }
36
72
}
You can’t perform that action at this time.
0 commit comments