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
Checkout
Test
TestCase
ShoppingCartPagerTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Checkout\Test\TestCase
;
8
9
use
Magento\Config\Test\Fixture\ConfigData
;
10
use Magento\Mtf\TestCase\Scenario;
11
use Magento\Mtf\Fixture\FixtureFactory;
12
27
class
ShoppingCartPagerTest
extends
Scenario
28
{
29
/* tags */
30
const
MVP
=
'yes'
;
31
const
SEVERITY
=
'S2'
;
32
/* end tags */
33
40
public
function
__prepare
(FixtureFactory $fixtureFactory)
41
{
42
$products
= [];
43
for
(
$i
= 1;
$i
<= 20;
$i
++) {
44
$products
[
$i
] = $fixtureFactory->createByCode(
'catalogProductSimple'
, [
'dataset'
=>
'default'
]);
45
$products
[
$i
]->persist();
46
}
47
48
return
[
'preconditionProducts'
=>
$products
];
49
}
50
56
public
function
test
()
57
{
58
$this->executeScenario();
59
}
60
}
Magento\Checkout\Test\TestCase\ShoppingCartPagerTest
Definition:
ShoppingCartPagerTest.php:27
$products
$products
Definition:
products_for_search.php:14
Magento\Config\Test\Fixture\ConfigData
Definition:
Section.php:7
Magento\Checkout\Test\TestCase\ShoppingCartPagerTest\test
test()
Definition:
ShoppingCartPagerTest.php:56
Magento\Checkout\Test\TestCase
Definition:
AddProductsToShoppingCartEntityTest.php:7
Magento\Checkout\Test\TestCase\ShoppingCartPagerTest\SEVERITY
const SEVERITY
Definition:
ShoppingCartPagerTest.php:31
Magento\Checkout\Test\TestCase\ShoppingCartPagerTest\__prepare
__prepare(FixtureFactory $fixtureFactory)
Definition:
ShoppingCartPagerTest.php:40
Magento\Checkout\Test\TestCase\ShoppingCartPagerTest\MVP
const MVP
Definition:
ShoppingCartPagerTest.php:30
$i
$i
Definition:
gallery.phtml:31