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
Tax
Test
Constraint
AssertTaxWithCrossBorderApplied.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Tax\Test\Constraint
;
8
13
class
AssertTaxWithCrossBorderApplied
extends
AbstractAssertTaxWithCrossBorderApplying
14
{
21
public
function
assert
($actualPrices)
22
{
23
//Prices verification
24
\PHPUnit\Framework\Assert::assertEmpty(
25
array_diff($actualPrices[0], $actualPrices[1]),
26
'Prices for customers should be equal. Cross border is not applied.'
27
);
28
}
29
35
public
function
toString
()
36
{
37
return
'Cross border trading is applied on front.'
;
38
}
39
}
Magento\Tax\Test\Constraint\AssertTaxWithCrossBorderApplied\toString
toString()
Definition:
AssertTaxWithCrossBorderApplied.php:35
Magento\Tax\Test\Constraint\AssertTaxWithCrossBorderApplied
Definition:
AssertTaxWithCrossBorderApplied.php:13
Magento\Tax\Test\Constraint\AbstractAssertTaxWithCrossBorderApplying
Definition:
AbstractAssertTaxWithCrossBorderApplying.php:21
Magento\Tax\Test\Constraint\AssertTaxWithCrossBorderApplied\assert
assert($actualPrices)
Definition:
AssertTaxWithCrossBorderApplied.php:21
Magento\Tax\Test\Constraint
Definition:
AbstractAssertOrderTaxOnBackend.php:7