protected function HooksTest::setUp in Lightning Core 8.3
Same name and namespace in other branches
- 8.4 modules/acquia_telemetry/tests/src/Kernel/HooksTest.php \Drupal\Tests\acquia_telemetry\Kernel\HooksTest::setUp()
Overrides KernelTestBase::setUp
File
- modules/
acquia_telemetry/ tests/ src/ Kernel/ HooksTest.php, line 25
Class
- HooksTest
- @group lightning @group lightning_core @group acquia_telemetry
Namespace
Drupal\Tests\acquia_telemetry\KernelCode
protected function setUp() {
parent::setUp();
$this->telemetry = $this
->prophesize(Telemetry::class);
$this->container
->set('acquia.telemetry', $this->telemetry
->reveal());
}