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
setup
src
Magento
Setup
Test
Unit
Controller
AddDatabaseTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Setup\Test\Unit\Controller
;
8
9
use \Magento\Setup\Controller\AddDatabase;
10
11
class
AddDatabaseTest
extends
\PHPUnit\Framework\TestCase
12
{
13
public
function
testIndexAction()
14
{
16
$controller
=
new
AddDatabase
();
17
$viewModel
=
$controller
->indexAction();
18
$this->assertInstanceOf(\
Zend
\View\Model\ViewModel::class,
$viewModel
);
19
$this->assertTrue(
$viewModel
->terminate());
20
}
21
}
Magento\Setup\Test\Unit\Controller
Definition:
AddDatabaseTest.php:7
Magento\Setup\Controller\AddDatabase
Definition:
AddDatabase.php:11
Magento\Setup\Test\Unit\Controller\AddDatabaseTest
Definition:
AddDatabaseTest.php:11
Zend
$viewModel
$viewModel
Definition:
breadcrumbs.phtml:8
$controller
$controller
Definition:
info.phtml:14