Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SetupDocBlock.php
Go to the documentation of this file.
1 <?php
7 
15 class SetupDocBlock extends \Magento\TestFramework\Bootstrap\DocBlock
16 {
23  protected function _getSubscribers(\Magento\TestFramework\Application $application)
24  {
25  return [
26  new \Magento\TestFramework\Workaround\Segfault(),
27  new \Magento\TestFramework\Workaround\Cleanup\TestCaseProperties(),
28  new \Magento\TestFramework\Workaround\Cleanup\StaticProperties(),
29  new \Magento\TestFramework\Isolation\WorkingDirectory(),
30  new \Magento\TestFramework\Workaround\DeploymentConfig(),
31  new \Magento\TestFramework\Annotation\ComponentRegistrarFixture($this->_fixturesBaseDir),
32  new \Magento\TestFramework\Annotation\SchemaFixture($this->_fixturesBaseDir),
33  new \Magento\TestFramework\Annotation\Cache(),
34  new \Magento\TestFramework\Workaround\CacheClean(),
35  new \Magento\TestFramework\Annotation\ReinstallInstance($application),
36  new \Magento\TestFramework\Annotation\CopyModules(),
37  new \Magento\TestFramework\Annotation\DataProviderFromFile()
38  ];
39  }
40 }
$application
Definition: bootstrap.php:58
_getSubscribers(\Magento\TestFramework\Application $application)