-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
/** | ||
* Magento console installer options for Web API functional tests. Are used in functional tests bootstrap. | ||
* | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
* Copyright 2015 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
return [ | ||
'language' => 'en_US', | ||
|
@@ -21,7 +21,7 @@ return [ | |
'admin-firstname' => 'Admin', | ||
'admin-email' => '[email protected]', | ||
'admin-user' => 'admin', | ||
'admin-password' => '123123q', | ||
'admin-password' => '1234512345q!', | ||
'admin-use-security-key' => '0', | ||
/* PayPal has limitation for order number - 20 characters. 10 digits prefix + 8 digits number is good enough */ | ||
'sales-order-increment-prefix' => time(), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
* Copyright 2012 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
|
||
namespace Magento\User\Model; | ||
|
@@ -392,11 +392,11 @@ public function testBeforeSavePasswordHash() | |
)->setEmail( | ||
'[email protected]' | ||
)->setPassword( | ||
'123123q' | ||
'1234512345q!' | ||
); | ||
$this->_model->save(); | ||
$this->assertStringNotContainsString( | ||
'123123q', | ||
'1234512345q!', | ||
$this->_model->getPassword(), | ||
'Password is expected to be hashed' | ||
); | ||
|
@@ -486,9 +486,9 @@ public function testBeforeSaveValidationSuccess() | |
)->setEmail( | ||
'[email protected]' | ||
)->setPassword( | ||
'1234abc' | ||
'1234512345q!' | ||
)->setPasswordConfirmation( | ||
'1234abc' | ||
'1234512345q!' | ||
); | ||
$this->_model->save(); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
* Copyright 2015 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
|
@@ -175,7 +175,7 @@ protected function setUp(): void | |
public function testExecute() | ||
{ | ||
$this->input['--' . AdminAccount::KEY_USER] = 'user'; | ||
$this->input['--' . AdminAccount::KEY_PASSWORD] = '123123q'; | ||
$this->input['--' . AdminAccount::KEY_PASSWORD] = '1234512345q!'; | ||
$this->input['--' . AdminAccount::KEY_EMAIL] = '[email protected]'; | ||
$this->input['--' . AdminAccount::KEY_FIRST_NAME] = 'John'; | ||
$this->input['--' . AdminAccount::KEY_LAST_NAME] = 'Doe'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
* Copyright 2015 Adobe | ||
* All Rights Reserved. | ||
*/ | ||
declare(strict_types=1); | ||
|
||
|
@@ -57,7 +57,7 @@ protected function setUp(): void | |
AdminAccount::KEY_FIRST_NAME => 'John', | ||
AdminAccount::KEY_LAST_NAME => 'Doe', | ||
AdminAccount::KEY_EMAIL => '[email protected]', | ||
AdminAccount::KEY_PASSWORD => '123123q', | ||
AdminAccount::KEY_PASSWORD => '1234512345q!', | ||
AdminAccount::KEY_USER => 'admin', | ||
AdminAccount::KEY_PREFIX => 'pre_' | ||
]; | ||
|