common_test_drupal_goto_redirect

Versions
7
common_test_drupal_goto_redirect()

Check that drupal_goto() exits once called.

Code

modules/simpletest/tests/common_test.module, line 43

<?php
function common_test_drupal_goto_redirect() {
  drupal_goto('common-test/drupal_goto');
  print t("Drupal goto failed to stop program");
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.