mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
test: fixed the password validator test (#612)
This commit is contained in:
@@ -52,7 +52,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker->password(20),
|
||||
@@ -82,7 +82,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $name,
|
||||
@@ -104,7 +104,7 @@ class CreateNewUserTest extends TestCase
|
||||
{
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker()->word(),
|
||||
@@ -140,7 +140,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker()->word(),
|
||||
@@ -170,7 +170,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker()->word(),
|
||||
@@ -208,7 +208,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker()->word(),
|
||||
@@ -236,7 +236,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker()->word(),
|
||||
@@ -262,7 +262,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker()->word(),
|
||||
@@ -294,7 +294,7 @@ class CreateNewUserTest extends TestCase
|
||||
|
||||
$action = new CreateNewUser();
|
||||
|
||||
$password = $this->faker->password(20);
|
||||
$password = $this->faker->password(18) . $this->faker->randomDigit() . $this->faker->randomElement(['!', '.', '@', '#']);
|
||||
|
||||
$action->create([
|
||||
User::ATTRIBUTE_NAME => $this->faker->word(),
|
||||
|
||||
Reference in New Issue
Block a user