File tree Expand file tree Collapse file tree 4 files changed +7
-15
lines changed
dev/tests/functional/tests/app/Magento Expand file tree Collapse file tree 4 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ public function processAssert(
70
70
$ systemVariableIndex ->open ();
71
71
$ systemVariableIndex ->getSystemVariableGrid ()->searchAndOpen (['code ' => $ data ['code ' ]]);
72
72
73
- $ formData = $ systemVariableNew ->getSystemVariableForm ()->getData ($ customVariable );
73
+ $ formData = $ systemVariableNew ->getSystemVariableForm ()->getData ();
74
74
$ errors = $ this ->verifyData ($ dataOrigin , $ formData );
75
75
\PHPUnit_Framework_Assert::assertEmpty ($ errors , $ errors );
76
76
77
77
if ($ storeOrigin !== null ) {
78
78
$ systemVariableNew ->getFormPageActions ()->selectStoreView ($ storeOrigin ->getName ());
79
- $ formData = $ systemVariableNew ->getSystemVariableForm ()->getData ($ customVariable );
79
+ $ formData = $ systemVariableNew ->getSystemVariableForm ()->getData ();
80
80
$ errors = $ this ->verifyData ($ data , $ formData );
81
81
\PHPUnit_Framework_Assert::assertEmpty ($ errors , $ errors );
82
82
}
Original file line number Diff line number Diff line change 9
9
use Magento \Tax \Test \Fixture \TaxRule ;
10
10
use Magento \Tax \Test \Page \Adminhtml \TaxRuleIndex ;
11
11
use Magento \Tax \Test \Page \Adminhtml \TaxRuleNew ;
12
- use Magento \Mtf \ObjectManager ;
13
12
use Magento \Mtf \TestCase \Injectable ;
14
13
15
14
/**
16
- * Test Flow:
17
- *
15
+ * Steps:
18
16
* 1. Log in as default admin user.
19
17
* 2. Go to Stores > Tax Rules.
20
18
* 3. Click 'Add New Tax Rule' button.
@@ -83,8 +81,8 @@ public function testCreateTaxRule(TaxRule $taxRule)
83
81
*
84
82
* @return void
85
83
*/
86
- public static function tearDownAfterClass ()
84
+ public function tearDown ()
87
85
{
88
- ObjectManager:: getInstance () ->create ('Magento\Tax\Test\TestStep\DeleteAllTaxRulesStep ' , [])->run ();
86
+ $ this -> objectManager ->create ('Magento\Tax\Test\TestStep\DeleteAllTaxRulesStep ' , [])->run ();
89
87
}
90
88
}
Original file line number Diff line number Diff line change 10
10
use Magento \Tax \Test \Page \Adminhtml \TaxRuleIndex ;
11
11
use Magento \Tax \Test \Page \Adminhtml \TaxRuleNew ;
12
12
use Magento \Mtf \Fixture \FixtureFactory ;
13
- use Magento \Mtf \ObjectManager ;
14
13
use Magento \Mtf \TestCase \Injectable ;
15
14
16
15
/**
17
- * Test Flow:
18
- *
19
16
* Preconditions:
20
17
* 1. 1 simple product is created.
21
18
* 2. Tax Rule is created.
@@ -105,8 +102,8 @@ public function testUpdateTaxRule(
105
102
*
106
103
* @return void
107
104
*/
108
- public static function tearDownAfterClass ()
105
+ public function tearDown ()
109
106
{
110
- ObjectManager:: getInstance () ->create ('Magento\Tax\Test\TestStep\DeleteAllTaxRulesStep ' , [])->run ();
107
+ $ this -> objectManager ->create ('Magento\Tax\Test\TestStep\DeleteAllTaxRulesStep ' , [])->run ();
111
108
}
112
109
}
Original file line number Diff line number Diff line change 9
9
use Magento \Customer \Test \Fixture \Customer ;
10
10
11
11
/**
12
- * Test Flow:
13
- *
14
12
* Preconditions:
15
13
* 1. Create customer
16
14
* 2. Create composite products
@@ -56,7 +54,6 @@ public function __prepare(Customer $customer)
56
54
*/
57
55
public function test (Customer $ customer , $ product )
58
56
{
59
- $ this ->markTestIncomplete ('Bug: MAGETWO-32815 ' );
60
57
// Preconditions
61
58
$ product = $ this ->createProducts ($ product )[0 ];
62
59
$ this ->loginCustomer ($ customer );
You can’t perform that action at this time.
0 commit comments