You are here

public function CheckTest::testEnabledByDefault in Security Review 8

Every check should be enabled by default.

File

tests/src/Kernel/CheckTest.php, line 63

Class

CheckTest
Contains tests for Checks.

Namespace

Drupal\Tests\security_review\Kernel

Code

public function testEnabledByDefault() {
  foreach ($this->checks as $check) {
    $this
      ->assertFalse($check
      ->isSkipped(), $check
      ->getTitle() . ' is enabled by default.');
  }
}