Skip to content

Commit 57dda2e

Browse files
committed
test fixes (#22833: Short-term admin accounts)
1 parent c5ac841 commit 57dda2e

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ class Validator extends AbstractValidator
1919
/**@var \Magento\Framework\Stdlib\DateTime\DateTime */
2020
private $dateTime;
2121

22+
/**
23+
* Validator constructor.
24+
*
25+
* @param \Magento\Framework\Stdlib\DateTime\DateTime $dateTime
26+
*/
2227
public function __construct(
2328
\Magento\Framework\Stdlib\DateTime\DateTime $dateTime
2429
) {

dev/tests/integration/testsuite/Magento/Security/Model/Plugin/AuthSessionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
/**
99
* @magentoAppIsolation enabled
10+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1011
*/
1112
class AuthSessionTest extends \PHPUnit\Framework\TestCase
1213
{

dev/tests/integration/testsuite/Magento/Security/Model/UserExpirationManagerTest.php

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

1010
/**
1111
* Tests for \Magento\Security\Model\UserExpirationManager
12+
*
13+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1214
*/
1315
class UserExpirationManagerTest extends \PHPUnit\Framework\TestCase
1416
{

0 commit comments

Comments
 (0)