You are here

public function AdminFunctionalityTest::pagesListProvider in Backup and Migrate 8.4

Same name and namespace in other branches
  1. 5.0.x tests/src/Functional/AdminFunctionalityTest.php \Drupal\Tests\backup_migrate\Functional\AdminFunctionalityTest::pagesListProvider()

A list of paths to check and a string that should be present on that page.

Return value

array A list of paths with a string that should be present on that page.

File

tests/src/Functional/AdminFunctionalityTest.php, line 79

Class

AdminFunctionalityTest
Checks if admin functionality works correctly.

Namespace

Drupal\Tests\backup_migrate\Functional

Code

public function pagesListProvider() {
  return [
    [
      'admin/config/development/backup_migrate',
      'Quick Backup',
    ],
    [
      'admin/config/development/backup_migrate/advanced',
      'Advanced Backup',
    ],
    [
      'admin/config/development/backup_migrate/restore',
      'Restore',
    ],
    [
      'admin/config/development/backup_migrate/backups',
      'Backups',
    ],
    [
      'admin/config/development/backup_migrate/schedule',
      'Schedule',
    ],
    [
      'admin/config/development/backup_migrate/schedule/add',
      'Add schedule',
    ],
    [
      'admin/config/development/backup_migrate/settings',
      'Settings',
    ],
    [
      'admin/config/development/backup_migrate/settings/add',
      'Add settings profile',
    ],
    [
      'admin/config/development/backup_migrate/settings/destination',
      'Backup Destination',
    ],
    [
      'admin/config/development/backup_migrate/settings/destination/add',
      'Add destination',
    ],
    [
      'admin/config/development/backup_migrate/settings/source',
      'Backup sources',
    ],
    [
      'admin/config/development/backup_migrate/settings/source/add',
      'Add Backup Source',
    ],
  ];
}