You are here

public function UpdaterFormTest::providerUpdateFormReferringUrl in Automatic Updates 8.2

Data provider for URLs to the update form.

Return value

string[][] Test case parameters.

File

tests/src/Functional/UpdaterFormTest.php, line 52

Class

UpdaterFormTest
@covers \Drupal\automatic_updates\Form\UpdaterForm

Namespace

Drupal\Tests\automatic_updates\Functional

Code

public function providerUpdateFormReferringUrl() : array {
  return [
    'Modules page' => [
      '/admin/modules/automatic-update',
    ],
    'Reports page' => [
      '/admin/reports/updates/automatic-update',
    ],
  ];
}