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
Test
Integrity
Modular
SalesConfigFilesTest.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Test\Integrity\Modular
;
7
8
class
SalesConfigFilesTest
extends
AbstractMergedConfigTest
9
{
18
protected
function
getIdAttributes
()
19
{
20
return
[
21
'/config/section'
=>
'name'
,
22
'/config/section/group'
=>
'name'
,
23
'/config/section/group/item'
=>
'name'
,
24
'/config/section/group/item/renderer'
=>
'name'
,
25
'/config/order/available_product_type'
=>
'name'
,
26
];
27
}
28
34
protected
function
getMergedSchemaFile
()
35
{
36
$objectManager
=
\Magento\TestFramework\Helper\Bootstrap::getObjectManager
();
37
return
$objectManager
->get(\
Magento
\Sales\Model\
Config
\SchemaLocator::class)->getSchema();
38
}
39
40
protected
function
getConfigFiles
()
41
{
42
return \Magento\Framework\App\Utility\Files::init()->getConfigFiles(
'sales.xml'
);
43
}
44
}
Magento\Test\Integrity\Modular\SalesConfigFilesTest
Definition:
SalesConfigFilesTest.php:8
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Test\Integrity\Modular
Definition:
AbstractMergedConfigTest.php:6
Magento\Test\Integrity\Modular\SalesConfigFilesTest\getMergedSchemaFile
getMergedSchemaFile()
Definition:
SalesConfigFilesTest.php:34
Magento\Test\Integrity\Modular\SalesConfigFilesTest\getConfigFiles
getConfigFiles()
Definition:
SalesConfigFilesTest.php:40
Magento
Magento\Framework\App\ResourceConnection\Config
Definition:
Config.php:14
Magento\Test\Integrity\Modular\AbstractMergedConfigTest
Definition:
AbstractMergedConfigTest.php:11
Magento\TestFramework\Helper\Bootstrap\getObjectManager
static getObjectManager()
Definition:
Bootstrap.php:125
Magento\Test\Integrity\Modular\SalesConfigFilesTest\getIdAttributes
getIdAttributes()
Definition:
SalesConfigFilesTest.php:18