Skip to content

Commit

Permalink
fix static tests (#22833: Short-term admin accounts)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfolco committed Jan 18, 2020
1 parent 9d8ce1c commit 95fce13
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 19 deletions.
2 changes: 0 additions & 2 deletions app/code/Magento/Security/Model/Plugin/AdminUserForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

/**
* Add the `expires_at` form field to the User main form.
*
* @package Magento\Security\Model\Plugin
*/
class AdminUserForm
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

/**
* \Magento\User\Model\UserValidationRules decorator
*
* @package Magento\Security\Model\Plugin
*/
class UserValidationRules
{
Expand Down
4 changes: 1 addition & 3 deletions app/code/Magento/Security/Model/UserExpiration/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
use Magento\Framework\Validator\AbstractValidator;

/**
* Class Validator
*
* @package Magento\Security\Model\Validator
* Validates that the expires_at field is later than the current date/time.
*/
class Validator extends AbstractValidator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

/**
* Check for expired users.
*
* @package Magento\Security\Observer
*/
class AdminUserAuthenticateBefore implements ObserverInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
namespace Magento\Security\Test\Unit\Model\Plugin;

/**
* Class UserValidationRulesTest
*
* @package Magento\Security\Test\Unit\Model\Plugin
* Test class for expiration date user validation rule.
*/
class UserValidationRulesTest extends \PHPUnit\Framework\TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;

/**
* Class ExpiresAtValidatorTest
*
* @package Magento\User\Test\Unit\Model
* Test class for \Magento\Security\Model\UserExpiration\Validator.
*/
class ValidatorTest extends \PHPUnit\Framework\TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

/**
* Test for \Magento\Security\Observer\AdminUserAuthenticateBefore
*
* @package Magento\Security\Test\Unit\Observer
*/
class AdminUserAuthenticateBeforeTest extends \PHPUnit\Framework\TestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

/**
* Test class for \Magento\Security\Observer\AfterAdminUserSave
*
* @package Magento\Security\Test\Unit\Observer
*/
class AfterAdminUserSaveTest extends \PHPUnit\Framework\TestCase
{
Expand Down

0 comments on commit 95fce13

Please sign in to comment.