File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ public function testSubmitRegistrationForm()
160160 */
161161 ns ()->option ->set ( 'ns_registration_enabled ' , 'yes ' );
162162
163- $ username = $ this ->generateUsername (6 );
163+ $ username = $ this ->generateUsername (10 );
164164 $ email = $ this ->faker ->email ();
165165
166166 $ response = $ this
@@ -201,7 +201,7 @@ public function testSubmitRegistrationForm()
201201 ->withHeader ( 'X-CSRF-TOKEN ' , csrf_token () )
202202 ->post (
203203 '/auth/sign-up ' , [
204- 'username ' => $ this ->faker -> userName ( ),
204+ 'username ' => $ this ->generateUsername ( 10 ),
205205 'password ' => $ password ,
206206 'password_confirm ' => $ password ,
207207 'email ' => 'not-a-valid-email ' ,
@@ -223,7 +223,7 @@ public function testSubmitRegistrationForm()
223223 ->withHeader ( 'X-CSRF-TOKEN ' , csrf_token () )
224224 ->post (
225225 '/auth/sign-up ' , [
226- 'username ' => $ this ->faker -> userName ( ),
226+ 'username ' => $ this ->generateUsername ( 10 ),
227227 'password ' => $ password ,
228228 'password_confirm ' => $ password . 'not-the-same ' ,
229229 'email ' => $ this ->faker ->email (),
You can’t perform that action at this time.
0 commit comments