protected function CheckTest::setUp in Security Review 8
Sets up the environment, populates the $checks variable.
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ CheckTest.php, line 46
Class
- CheckTest
- Contains tests for Checks.
Namespace
Drupal\Tests\security_review\KernelCode
protected function setUp() {
parent::setUp();
$this->realChecks = security_review_security_review_checks();
$this->testChecks = security_review_test_security_review_checks();
$this->checks = array_merge($this->realChecks, $this->testChecks);
}