public function SecurityReviewTest::testConfigConfigured in Security Review 8
Tests the 'configured' setting.
File
- tests/
src/ Kernel/ SecurityReviewTest.php, line 49
Class
- SecurityReviewTest
- Contains tests related to the SecurityReview class.
Namespace
Drupal\Tests\security_review\KernelCode
public function testConfigConfigured() {
$this
->assertFalse($this->securityReview
->isConfigured(), 'Not configured by default.');
$this->securityReview
->setConfigured(TRUE);
$this
->assertTrue($this->securityReview
->isConfigured(), 'Set to configured.');
}