Skip to content

Commit 95fce13

Browse files
committed
fix static tests (#22833: Short-term admin accounts)
1 parent 9d8ce1c commit 95fce13

File tree

8 files changed

+3
-19
lines changed

8 files changed

+3
-19
lines changed

app/code/Magento/Security/Model/Plugin/AdminUserForm.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
/**
1111
* Add the `expires_at` form field to the User main form.
12-
*
13-
* @package Magento\Security\Model\Plugin
1412
*/
1513
class AdminUserForm
1614
{

app/code/Magento/Security/Model/Plugin/UserValidationRules.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
/**
1111
* \Magento\User\Model\UserValidationRules decorator
12-
*
13-
* @package Magento\Security\Model\Plugin
1412
*/
1513
class UserValidationRules
1614
{

app/code/Magento/Security/Model/UserExpiration/Validator.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
use Magento\Framework\Validator\AbstractValidator;
1111

1212
/**
13-
* Class Validator
14-
*
15-
* @package Magento\Security\Model\Validator
13+
* Validates that the expires_at field is later than the current date/time.
1614
*/
1715
class Validator extends AbstractValidator
1816
{

app/code/Magento/Security/Observer/AdminUserAuthenticateBefore.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
/**
1616
* Check for expired users.
17-
*
18-
* @package Magento\Security\Observer
1917
*/
2018
class AdminUserAuthenticateBefore implements ObserverInterface
2119
{

app/code/Magento/Security/Test/Unit/Model/Plugin/UserValidationRulesTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
namespace Magento\Security\Test\Unit\Model\Plugin;
99

1010
/**
11-
* Class UserValidationRulesTest
12-
*
13-
* @package Magento\Security\Test\Unit\Model\Plugin
11+
* Test class for expiration date user validation rule.
1412
*/
1513
class UserValidationRulesTest extends \PHPUnit\Framework\TestCase
1614
{

app/code/Magento/Security/Test/Unit/Model/UserExpiration/ValidatorTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
1111

1212
/**
13-
* Class ExpiresAtValidatorTest
14-
*
15-
* @package Magento\User\Test\Unit\Model
13+
* Test class for \Magento\Security\Model\UserExpiration\Validator.
1614
*/
1715
class ValidatorTest extends \PHPUnit\Framework\TestCase
1816
{

app/code/Magento/Security/Test/Unit/Observer/AdminUserAuthenticateBeforeTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
/**
1111
* Test for \Magento\Security\Observer\AdminUserAuthenticateBefore
12-
*
13-
* @package Magento\Security\Test\Unit\Observer
1412
*/
1513
class AdminUserAuthenticateBeforeTest extends \PHPUnit\Framework\TestCase
1614
{

app/code/Magento/Security/Test/Unit/Observer/AfterAdminUserSaveTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
/**
1111
* Test class for \Magento\Security\Observer\AfterAdminUserSave
12-
*
13-
* @package Magento\Security\Test\Unit\Observer
1412
*/
1513
class AfterAdminUserSaveTest extends \PHPUnit\Framework\TestCase
1614
{

0 commit comments

Comments
 (0)