Skip to content

Commit

Permalink
最大長を超えるパスワードが生成される場合があるので調整
Browse files Browse the repository at this point in the history
  • Loading branch information
chihiro-adachi committed Sep 20, 2023
1 parent a616797 commit 132224a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Form/Type/Front/EntryTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ protected function getFormData()
],
'phone_number' => $faker->phoneNumber,
'email' => $faker->safeEmail(),
'plain_password' => $faker->password($this->eccubeConfig['eccube_password_min_len'], $this->eccubeConfig['eccube_password_max_len']).'1A',
'plain_password' => $faker->password($this->eccubeConfig['eccube_password_min_len'], $this->eccubeConfig['eccube_password_max_len'] - 2).'1A',
'birth' => $faker->dateTimeBetween('-100 years', '-1 days')->format('Y-m-d\TH:i:sP'),
'sex' => $faker->numberBetween(1, 3),
'job' => $faker->numberBetween(1, 18),
Expand Down

0 comments on commit 132224a

Please sign in to comment.