public function UsersReportCase::testBlockedNumberOnePass in Site Audit 8.2
UnBlock the user with uid 1. Check should Pass.
File
- tests/
usersReportTest.php, line 41 - Contains /site_audit/tests/UsersReportCase.
Class
- UsersReportCase
- Class UsersReportCase.
Namespace
UnishCode
public function testBlockedNumberOnePass() {
$this
->drush('user-unblock', array(
1,
), $this->options);
$this
->drush('audit-users', array(), $this->options + array(
'detail' => NULL,
'json' => NULL,
));
$output = json_decode($this
->getOutput());
$this
->assertEquals(\SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS, $output->checks->SiteAuditCheckUsersBlockedNumberOne->score);
}