Definition at line 10 of file ResourceTest.php.
◆ setUp()
◆ testGetTableName()
Definition at line 23 of file ResourceTest.php.
25 $tablePrefix =
'prefix_';
26 $tableSuffix =
'suffix';
27 $tableNameOrig =
'store_website';
30 \
Magento\Framework\
App\ResourceConnection::class,
31 [
'tablePrefix' =>
'prefix_']
34 $tableName = $this->_model->getTableName([$tableNameOrig, $tableSuffix]);
35 $this->assertContains($tablePrefix,
$tableName);
36 $this->assertContains($tableSuffix,
$tableName);
37 $this->assertContains($tableNameOrig,
$tableName);
static getObjectManager()
◆ $_model
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/testsuite/Magento/Framework/Model/ResourceTest.php