You are here

function system_test_basic_auth_page in SimpleTest 7

1 string reference to 'system_test_basic_auth_page'
system_test_menu in tests/system_test.module
Implement hook_menu().

File

tests/system_test.module, line 103

Code

function system_test_basic_auth_page() {
  $output = t('$_SERVER[\'PHP_AUTH_USER\'] is @username.', array(
    '@username' => $_SERVER['PHP_AUTH_USER'],
  ));
  $output .= t('$_SERVER[\'PHP_AUTH_PW\'] is @password.', array(
    '@password' => $_SERVER['PHP_AUTH_PW'],
  ));
  return $output;
}