function system_test_authorize_init_page

Page callback to initialize authorize.php during testing.

See also

system_authorized_init().

1 string reference to 'system_test_authorize_init_page'
system_test_menu in drupal/modules/simpletest/tests/system_test.module
Implements hook_menu().

File

drupal/modules/simpletest/tests/system_test.module, line 456

Code

function system_test_authorize_init_page($page_title) {
  $authorize_url = $GLOBALS['base_url'] . '/authorize.php';
  system_authorized_init('system_test_authorize_run', drupal_get_path('module', 'system_test') . '/system_test.module', array(), $page_title);
  drupal_goto($authorize_url);
}