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
CatalogRule
Test
TestCase
AbstractCatalogRuleEntityTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\CatalogRule\Test\TestCase
;
8
9
use Magento\PageCache\Test\Page\Adminhtml\AdminCache;
10
use Magento\CatalogRule\Test\Page\Adminhtml\CatalogRuleIndex;
11
use Magento\CatalogRule\Test\Page\Adminhtml\CatalogRuleNew;
12
use Magento\Mtf\Fixture\FixtureFactory;
13
use Magento\Mtf\TestCase\Injectable;
14
18
abstract
class
AbstractCatalogRuleEntityTest
extends
Injectable
19
{
25
protected
$catalogRuleIndex
;
26
32
protected
$catalogRuleNew
;
33
39
protected
$adminCache
;
40
46
protected
$fixtureFactory
;
47
57
public
function
__inject
(
58
CatalogRuleIndex
$catalogRuleIndex
,
59
CatalogRuleNew
$catalogRuleNew
,
60
AdminCache
$adminCache
,
61
FixtureFactory
$fixtureFactory
62
) {
63
$this->catalogRuleIndex =
$catalogRuleIndex
;
64
$this->catalogRuleNew =
$catalogRuleNew
;
65
$this->adminCache =
$adminCache
;
66
$this->fixtureFactory =
$fixtureFactory
;
67
}
68
74
public
function
tearDown
()
75
{
76
$this->objectManager->create(\
Magento
\CatalogRule\Test\TestStep\DeleteAllCatalogRulesStep::class)->run();
77
}
78
}
Magento\CatalogRule\Test\TestCase
Definition:
AbstractCatalogRuleEntityTest.php:7
Magento\CatalogRule\Test\TestCase\AbstractCatalogRuleEntityTest\tearDown
tearDown()
Definition:
AbstractCatalogRuleEntityTest.php:74
Magento\CatalogRule\Test\TestCase\AbstractCatalogRuleEntityTest
Definition:
AbstractCatalogRuleEntityTest.php:18
Magento\CatalogRule\Test\TestCase\AbstractCatalogRuleEntityTest\$fixtureFactory
$fixtureFactory
Definition:
AbstractCatalogRuleEntityTest.php:46
Magento\CatalogRule\Test\TestCase\AbstractCatalogRuleEntityTest\$catalogRuleIndex
$catalogRuleIndex
Definition:
AbstractCatalogRuleEntityTest.php:25
Magento\CatalogRule\Test\TestCase\AbstractCatalogRuleEntityTest\$catalogRuleNew
$catalogRuleNew
Definition:
AbstractCatalogRuleEntityTest.php:32
Magento\CatalogRule\Test\TestCase\AbstractCatalogRuleEntityTest\$adminCache
$adminCache
Definition:
AbstractCatalogRuleEntityTest.php:39
Magento
Magento\CatalogRule\Test\TestCase\AbstractCatalogRuleEntityTest\__inject
__inject(CatalogRuleIndex $catalogRuleIndex, CatalogRuleNew $catalogRuleNew, AdminCache $adminCache, FixtureFactory $fixtureFactory)
Definition:
AbstractCatalogRuleEntityTest.php:57