You are here

public function TestNotifyVariables::testVars in Notify 7

File

./notify.test, line 440
Automated tests for notify.

Class

TestNotifyVariables

Code

public function testVars() {
  trigger_error('This will query all variables, and return -2 if it is not set.', E_USER_NOTICE);
  $notify_attempts = variable_get('notify_attempts', -2);
  $notify_include_updates = variable_get('notify_include_updates', -2);
  $notify_reg_default = variable_get('notify_reg_default', -2);
  $notify_period = variable_get('notify_period', -2);
  $notify_batchsize = variable_get('notify_batchsize', -2);
  $notify_send_hour = variable_get('notify_send_hour', -2);
  debug($notify_attempts, 'notify_attempts');
  debug($notify_include_updates, 'notify_include_updates');
  debug($notify_reg_default, 'notify_reg_default');
  debug($notify_period, 'notify_period');
  debug($notify_batchsize, 'notify_batchsize');
  debug($notify_send_hour, 'notify_send_hour');
}