File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
dev/tests/integration/testsuite/Magento
Customer/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ protected function setUp(): void
31
31
parent ::setUp ();
32
32
}
33
33
34
- protected function tearDown (): void
35
- {
36
- $ this ->customerModel ->delete ();
37
- }
38
-
39
34
/**
40
35
* Test save rp token
41
36
*
Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ public function testSave(): void
130
130
{
131
131
$ token = 'randomstring ' ;
132
132
$ username = $ this ->random ->getRandomString (6 );
133
- $ email = $ username. "@example.com " ;
134
-
133
+ $ email = $ username . "@example.com " ;
134
+ $ password = uniqid (). $ this -> random -> getRandomString ( 10 );
135
135
$ userModel = Bootstrap::getObjectManager ()->get (User::class);
136
136
137
137
$ userModel ->setData (
@@ -140,7 +140,7 @@ public function testSave(): void
140
140
'rp_token ' => $ token ,
141
141
'firstname ' => 'John ' ,
142
142
'lastname ' => 'Doe ' ,
143
- 'password ' => $ this -> random -> getRandomString ( 10 ) ,
143
+ 'password ' => $ password ,
144
144
'username ' => $ username
145
145
]
146
146
)->save ();
You can’t perform that action at this time.
0 commit comments