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
integration
testsuite
Magento
Integration
Block
Adminhtml
System
Config
OauthSectionTest.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
9
namespace
Magento\Integration\Block\Adminhtml\System\Config
;
10
11
class
OauthSectionTest
extends
\Magento\TestFramework\TestCase\AbstractBackendController
12
{
16
public
function
testOAuthSection
()
17
{
18
$this->dispatch(
'backend/admin/system_config/edit/section/oauth/'
);
19
$body = $this->
getResponse
()->getBody();
20
$this->assertContains(
'id="oauth_access_token_lifetime-head"'
, $body);
21
$this->assertContains(
'id="oauth_cleanup-head"'
, $body);
22
$this->assertContains(
'id="oauth_consumer-head"'
, $body);
23
$this->assertContains(
'id="oauth_authentication_lock-head"'
, $body);
24
}
25
}
Magento\TestFramework\TestCase\AbstractController\getResponse
getResponse()
Definition:
AbstractController.php:137
Magento\Integration\Block\Adminhtml\System\Config\OauthSectionTest\testOAuthSection
testOAuthSection()
Definition:
OauthSectionTest.php:16
Magento\Integration\Block\Adminhtml\System\Config
Definition:
OauthSectionTest.php:9
Magento\Integration\Block\Adminhtml\System\Config\OauthSectionTest
Definition:
OauthSectionTest.php:11
Magento\TestFramework\TestCase\AbstractBackendController
Definition:
AbstractBackendController.php:15