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
3131 parent ::setUp ();
3232 }
3333
34- protected function tearDown (): void
35- {
36- $ this ->customerModel ->delete ();
37- }
38-
3934 /**
4035 * Test save rp token
4136 *
Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ public function testSave(): void
130130 {
131131 $ token = 'randomstring ' ;
132132 $ username = $ this ->random ->getRandomString (6 );
133- $ email = $ username. "@example.com " ;
134-
133+ $ email = $ username . "@example.com " ;
134+ $ password = uniqid (). $ this -> random -> getRandomString ( 10 );
135135 $ userModel = Bootstrap::getObjectManager ()->get (User::class);
136136
137137 $ userModel ->setData (
@@ -140,7 +140,7 @@ public function testSave(): void
140140 'rp_token ' => $ token ,
141141 'firstname ' => 'John ' ,
142142 'lastname ' => 'Doe ' ,
143- 'password ' => $ this -> random -> getRandomString ( 10 ) ,
143+ 'password ' => $ password ,
144144 'username ' => $ username
145145 ]
146146 )->save ();
You can’t perform that action at this time.
0 commit comments