You are here

function system_test_init in SimpleTest 7

Implement hook_init().

File

tests/system_test.module, line 189

Code

function system_test_init() {

  // Used by FrontPageTestCase to get the results of drupal_is_front_page().
  if (variable_get('front_page_output', 0) && drupal_is_front_page()) {
    drupal_set_message(t('On front page.'));
  }
}