You are here

public function ModifiedFilesTest::contribProjectsProvider in Automatic Updates 8

Contrib project data provider.

File

tests/src/Build/ModifiedFilesTest.php, line 81

Class

ModifiedFilesTest
@coversDefaultClass \Drupal\automatic_updates\Services\ModifiedFiles

Namespace

Drupal\Tests\automatic_updates\Build

Code

public function contribProjectsProvider() {
  $datum[] = [
    'project' => 'bootstrap',
    'project_type' => 'theme',
    'version' => '8.x-3.20',
    'modifications' => [
      'themes/contrib/bootstrap/LICENSE.txt',
    ],
  ];
  $datum[] = [
    'project' => 'token',
    'project_type' => 'module',
    'version' => '8.x-1.5',
    'modifications' => [
      'modules/contrib/token/LICENSE.txt',
    ],
  ];
  return $datum;
}