health.test in Health Status 7
Tests for health module.
File
health.testView source
<?php
/**
* @file
* Tests for health module.
*/
/**
* Functional tests for the health module.
*
* @ingroup health
*/
class HealthTestCase extends DrupalWebTestCase {
/**
* {@inheritdoc}
*/
public static function getInfo() {
return array(
'name' => 'Health functionality',
'description' => 'Checks behavior of Health.',
'group' => 'Health',
);
}
/**
* Test the various menus.
*/
public function testHealth() {
$this
->drupalGet('admin/reports/health/dashboard');
$this
->assertResponse(403);
}
}
Classes
Name | Description |
---|---|
HealthTestCase | Functional tests for the health module. |