You are here

function InactiveUserTest::checkInactiveAccounts in Inactive User 7

Same name and namespace in other branches
  1. 6 inactive_user.test \InactiveUserTest::checkInactiveAccounts()

Perform inactivity validation

4 calls to InactiveUserTest::checkInactiveAccounts()
InactiveUserTest::testInactiveUserBlocking in ./inactive_user.test
Check inactive user blocking and notifications are working
InactiveUserTest::testInactiveUserDeleting in ./inactive_user.test
Check inactive user deleting and notifications are working
InactiveUserTest::testInactiveUserNotification in ./inactive_user.test
Check inactive user and administrator notifications are working
InactiveUserTest::testInactiveUserWithContentDeleting in ./inactive_user.test
Check inactive user (with content) deleting and notifications are working

File

./inactive_user.test, line 426
Test the basic functions of the Inactive User module.

Class

InactiveUserTest
Inactive user module testcase.

Code

function checkInactiveAccounts() {

  // Make sure inactive user will be checked.
  variable_set('inactive_user_timestamp', '0');

  // run inactive user cron hook
  inactive_user_cron();
}