Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
User
Test
TestCase
RevokeAllAccessTokensForAdminWithoutTokensTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\User\Test\TestCase
;
8
9
use
Magento\User\Test\Fixture\User
;
10
use Magento\User\Test\Page\Adminhtml\UserEdit;
11
use Magento\User\Test\Page\Adminhtml\UserIndex;
12
use Magento\Mtf\TestCase\Injectable;
13
33
class
RevokeAllAccessTokensForAdminWithoutTokensTest
extends
Injectable
34
{
35
/* tags */
36
const
MVP
=
'no'
;
37
/* end tags */
38
44
protected
$userIndex
;
45
51
protected
$userEdit
;
52
60
public
function
__inject
(
61
UserIndex
$userIndex
,
62
UserEdit
$userEdit
63
) {
64
$this->userIndex =
$userIndex
;
65
$this->userEdit =
$userEdit
;
66
}
67
74
public
function
test
(User
$user
)
75
{
76
// Preconditions:
77
$user
->persist();
78
// Steps:
79
$this->userIndex->open();
80
$this->userIndex->getUserGrid()->searchAndOpen([
'username'
=>
$user
->getUsername()]);
81
$this->userEdit->getPageActions()->forceSignIn();
82
}
83
}
Magento\User\Test\TestCase
Definition:
CreateAdminUserEntityTest.php:7
Magento\User\Test\TestCase\RevokeAllAccessTokensForAdminWithoutTokensTest\$userEdit
$userEdit
Definition:
RevokeAllAccessTokensForAdminWithoutTokensTest.php:51
Magento\User\Test\TestCase\RevokeAllAccessTokensForAdminWithoutTokensTest\test
test(User $user)
Definition:
RevokeAllAccessTokensForAdminWithoutTokensTest.php:74
$user
$user
Definition:
dummy_user.php:13
Magento\User\Test\TestCase\RevokeAllAccessTokensForAdminWithoutTokensTest\MVP
const MVP
Definition:
RevokeAllAccessTokensForAdminWithoutTokensTest.php:36
Magento\User\Test\TestCase\RevokeAllAccessTokensForAdminWithoutTokensTest\__inject
__inject(UserIndex $userIndex, UserEdit $userEdit)
Definition:
RevokeAllAccessTokensForAdminWithoutTokensTest.php:60
Magento\User\Test\Fixture\User
Definition:
CurrentPassword.php:7
Magento\User\Test\TestCase\RevokeAllAccessTokensForAdminWithoutTokensTest
Definition:
RevokeAllAccessTokensForAdminWithoutTokensTest.php:33
Magento\User\Test\TestCase\RevokeAllAccessTokensForAdminWithoutTokensTest\$userIndex
$userIndex
Definition:
RevokeAllAccessTokensForAdminWithoutTokensTest.php:44