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
framework
Test
Unit
UtilTest.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Test\Unit
;
9
10
class
UtilTest
extends
\PHPUnit\Framework\TestCase
11
{
12
public
function
testGetTrimmedPhpVersion
()
13
{
14
$util = new \Magento\Framework\Util();
15
$version
= implode(
'.'
, [PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION]);
16
$this->assertEquals(
$version
, $util->getTrimmedPhpVersion());
17
}
18
}
$version
$version
Definition:
pre_composer_update_2.3.php:161
Magento\Framework\Test\Unit\UtilTest
Definition:
UtilTest.php:10
Magento\Framework\Test\Unit\UtilTest\testGetTrimmedPhpVersion
testGetTrimmedPhpVersion()
Definition:
UtilTest.php:12
Magento\Framework\Test\Unit