Merge pull request #25055 from maximejobin/master

Use the $username variable
This commit is contained in:
Gerhard Potgieter 2019-11-18 13:59:14 +02:00 committed by GitHub
commit 7551e812b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class WC_Tests_CustomerCRUD extends WC_Unit_Test_Case {
public function test_create_customer() {
$username = 'testusername-' . time();
$customer = new WC_Customer();
$customer->set_username( 'testusername-' . time() );
$customer->set_username( $username );
$customer->set_password( 'test123' );
$customer->set_email( 'test@woo.local' );
$customer->save();