You are here

function DBMaintenanceSettingsTest::testSettingsForm in DB Maintenance 5

Same name and namespace in other branches
  1. 5.2 tests/settings_form.test \DBMaintenanceSettingsTest::testSettingsForm()

File

tests/settings_form.test, line 12

Class

DBMaintenanceSettingsTest

Code

function testSettingsForm() {
  $result = db_maintenance_admin_settings();
  $this
    ->assertNotNull($result);
  $this
    ->assertIsA($result, 'array');
  $this
    ->assertNotNull($result['db_maintenance_log']);
  $this
    ->assertNotNull($result['db_maintenance_cron_frequency']);
  $this
    ->assertNotNull($result['buttons']['submit']);
}