You are here

protected function SecurityReviewTest::setUp in Security Review 8

Sets up the testing environment.

Overrides KernelTestBase::setUp

File

tests/src/Kernel/SecurityReviewTest.php, line 31

Class

SecurityReviewTest
Contains tests related to the SecurityReview class.

Namespace

Drupal\Tests\security_review\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(static::$modules);
  $this->securityReview = \Drupal::getContainer()
    ->get('security_review');
}