You are here

function _bm_test_get_mock_destination in Backup and Migrate 7.3

Helper function to create a mock destination.

2 calls to _bm_test_get_mock_destination()
BmTestCtools::testSettingsPage in tests/BmTestCtools.test
Confirm automated settings exist.
bm_test_exportables_backup_migrate_destinations in tests/bm_test.module
Implements hook_exportables_backup_migrate_destinations().

File

tests/bm_test.module, line 114
Mock module to help and test hooks.

Code

function _bm_test_get_mock_destination() {
  return array(
    'machine_name' => 'mock_email',
    'name' => 'Mock e-mail destination',
    'location' => 'test@example.com',
    'subtype' => 'email',
  );
}