public function ContentReportCase::testContentContentEntityTypesUnusedWarn in Site Audit 8.2
Warn if a content entity type is unused.
File
- tests/
contentReportTest.php, line 68 - Contains /site_audit/tests/ContentReportCase.
Class
- ContentReportCase
- Class ContentReportCase.
Namespace
UnishCode
public function testContentContentEntityTypesUnusedWarn() {
$this
->drush('pm-enable', array(
'taxonomy',
), $this->options);
$this
->drush('audit-content', array(), $this->options + array(
'detail' => NULL,
'json' => NULL,
));
$output = json_decode($this
->getOutput());
$this
->assertEquals(\SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN, $output->checks->SiteAuditCheckContentContentEntityTypesUnused->score);
}