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
Reports
Test
Constraint
AssertNewAccountsReportTotalResult.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Reports\Test\Constraint
;
8
9
use Magento\Reports\Test\Page\Adminhtml\CustomerAccounts;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
16
class
AssertNewAccountsReportTotalResult
extends
AbstractConstraint
17
{
25
public
function
processAssert
(CustomerAccounts $customerAccounts, $total)
26
{
27
$totalForm = $customerAccounts->getGridBlock()->getTotalResults();
28
\PHPUnit\Framework\Assert::assertEquals($total, $totalForm);
29
}
30
36
public
function
toString
()
37
{
38
return
'New account total result is equals to data from dataset.'
;
39
}
40
}
Magento\Reports\Test\Constraint\AssertNewAccountsReportTotalResult
Definition:
AssertNewAccountsReportTotalResult.php:16
Magento\Reports\Test\Constraint\AssertNewAccountsReportTotalResult\processAssert
processAssert(CustomerAccounts $customerAccounts, $total)
Definition:
AssertNewAccountsReportTotalResult.php:25
Magento\Reports\Test\Constraint
Definition:
AbstractAssertCustomerOrderReportResult.php:7
Magento\Reports\Test\Constraint\AssertNewAccountsReportTotalResult\toString
toString()
Definition:
AssertNewAccountsReportTotalResult.php:36