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)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
magento2-base
setup
src
Magento
Setup
Test
Unit
Controller
WebConfigurationTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Setup\Test\Unit\Controller
;
8
9
use \Magento\Setup\Controller\WebConfiguration;
10
11
class
WebConfigurationTest
extends
\PHPUnit\Framework\TestCase
12
{
13
public
function
testIndexAction()
14
{
16
$controller
=
new
WebConfiguration
();
17
$_SERVER[
'DOCUMENT_ROOT'
] =
'some/doc/root/value'
;
18
$viewModel
=
$controller
->indexAction();
19
$this->assertInstanceOf(\
Zend
\View\Model\ViewModel::class,
$viewModel
);
20
$this->assertTrue(
$viewModel
->terminate());
21
$this->assertArrayHasKey(
'autoBaseUrl'
,
$viewModel
->getVariables());
22
}
23
}
Magento\Setup\Test\Unit\Controller\WebConfigurationTest
Definition:
WebConfigurationTest.php:11
Magento\Setup\Test\Unit\Controller
Definition:
AddDatabaseTest.php:7
Magento\Setup\Controller\WebConfiguration
Definition:
WebConfiguration.php:13
Zend
$viewModel
$viewModel
Definition:
breadcrumbs.phtml:8
$controller
$controller
Definition:
info.phtml:14