function system_test_authorize_init_page in Drupal 7
Page callback to initialize authorize.php during testing.
See also
1 string reference to 'system_test_authorize_init_page'
- system_test_menu in modules/
simpletest/ tests/ system_test.module - Implements hook_menu().
File
- 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);
}