function common_test_drupal_goto_redirect in SimpleTest 7
Check that drupal_goto() exits once called.
1 string reference to 'common_test_drupal_goto_redirect'
- common_test_menu in tests/
common_test.module - Implement hook_menu().
File
- tests/
common_test.module, line 43 - Helper module for the Common tests.
Code
function common_test_drupal_goto_redirect() {
drupal_goto('common-test/drupal_goto');
print t("Drupal goto failed to stop program");
}