We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d92c26 commit 381b580Copy full SHA for 381b580
tests/Feature/AuthenticationTest.php
@@ -141,10 +141,10 @@ public function testCanSeeNewPasswordForm()
141
$response->assertStatus( 200 );
142
}
143
144
- public function generateUsername($faker, $minLength = 10) {
145
- $username = $faker->userName;
+ public function generateUsername($minLength = 10) {
+ $username = $this->faker->userName();
146
while(strlen($username) < $minLength) {
147
- $username .= $faker->randomLetter;
+ $username .= $this->faker->randomLetter();
148
149
return $username;
150
0 commit comments