You are here

public function InPlaceUpdateTest::coreVersionsSuccessProvider in Automatic Updates 8

Core versions data provider resulting in a successful upgrade.

File

tests/src/Build/InPlaceUpdateTest.php, line 172

Class

InPlaceUpdateTest
@coversDefaultClass \Drupal\automatic_updates\Services\InPlaceUpdate

Namespace

Drupal\Tests\automatic_updates\Build

Code

public function coreVersionsSuccessProvider() {
  $datum[] = [
    'from' => '8.7.2',
    'to' => '8.7.4',
  ];
  $datum[] = [
    'from' => '8.7.0',
    'to' => '8.7.1',
  ];
  $datum[] = [
    'from' => '8.7.2',
    'to' => '8.7.10',
  ];
  $datum[] = [
    'from' => '8.7.6',
    'to' => '8.7.7',
  ];
  $datum[] = [
    'from' => '8.9.0-beta1',
    'to' => '8.9.0-beta2',
  ];
  return $datum;
}