function ProjectReleaseTest::providerCreateFromArrayMissingField

Same name in other branches
  1. 10 core/modules/update/tests/src/Unit/ProjectReleaseTest.php \Drupal\Tests\update\Unit\ProjectReleaseTest::providerCreateFromArrayMissingField()
  2. 11.x 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',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.