public function SecurityReportCase::testMenuRouterPass in Site Audit 8.2
Check should pass on a default installation.
File
- tests/
securityReportTest.php, line 28 - Contains /site_audit/tests/SecurityReportCase.
Class
- SecurityReportCase
- Class SecurityReportCase.
Namespace
UnishCode
public function testMenuRouterPass() {
$this
->drush('audit-security', array(), $this->options + array(
'detail' => NULL,
'json' => NULL,
));
$output = $this
->getOutput();
$output = json_decode($output);
$this
->assertEquals(\SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS, $output->checks->SiteAuditCheckSecurityMenuRouter->score);
}