You are here

public function ProjectReleaseTest::providerCreateFromArrayMissingField in Drupal 9

Same name and namespace in other branches
  1. 10 core/modules/update/tests/src/Unit/ProjectReleaseTest.php \Drupal\Tests\update\Unit\ProjectReleaseTest::providerCreateFromArrayMissingField()

Data provider for testCreateFromArrayMissingField().

File

core/modules/update/tests/src/Unit/ProjectReleaseTest.php, line 152

Class

ProjectReleaseTest
@coversDefaultClass \Drupal\update\ProjectRelease

Namespace

Drupal\Tests\update\Unit

Code

public function providerCreateFromArrayMissingField() : array {
  return [
    'status' => [
      'status',
    ],
    'version' => [
      'version',
    ],
    'release_link' => [
      'release_link',
    ],
  ];
}