You are here

public function ServiceSmokeAndFireTest::testIsSystemOnFireReturnsFalse in Purge 8.3

Tests \Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticsService::isSystemOnFire()

File

tests/src/Kernel/DiagnosticCheck/ServiceSmokeAndFireTest.php, line 38

Class

ServiceSmokeAndFireTest
Tests \Drupal\purge\Plugin\Purge\DiagnosticCheck\DiagnosticsService.

Namespace

Drupal\Tests\purge\Kernel\DiagnosticCheck

Code

public function testIsSystemOnFireReturnsFalse() : void {
  $this
    ->initializePurgersService([
    'ida' => 'a',
  ]);
  $this
    ->initializeService();
  $this
    ->assertFalse(is_object($this->service
    ->isSystemOnFire()));
  $this
    ->assertEquals($this->service
    ->isSystemOnFire(), FALSE);
}