public function ServiceSmokeAndFireTest::testIsSystemShowingSmokeReturnsFalse in Purge 8.3
Tests \Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticsService::isSystemShowingSmoke()
File
- tests/
src/ Kernel/ DiagnosticCheck/ ServiceSmokeAndFireTest.php, line 62
Class
Namespace
Drupal\Tests\purge\Kernel\DiagnosticCheckCode
public function testIsSystemShowingSmokeReturnsFalse() : void {
$this
->initializePurgersService([
'idb' => 'b',
]);
$this
->initializeService();
$smoke = $this->service
->isSystemShowingSmoke();
$this
->assertTrue(is_object($smoke));
if (is_object($smoke)) {
$this
->assertTrue($smoke instanceof DiagnosticCheckInterface);
}
}