You are here

public function ProjectReleaseTest::providerCreateFromArrayMissingField in Drupal 10

Same name and namespace in other branches
  1. 9 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',
    ],
  ];
}