Skip to content

Commit

Permalink
Ensured unique account username when generating order data.
Browse files Browse the repository at this point in the history
  • Loading branch information
Boia Alexandru committed Feb 3, 2021
1 parent 1930517 commit b4197e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/WcOrderHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function _generateAndSaveRandomWcOrder($status = null, $gateway = null

if ($customerId === false) {
$customerId = wc_create_new_customer($faker->email,
$faker->userName,
sha1($email),
$faker->password);
}

Expand Down

0 comments on commit b4197e4

Please sign in to comment.