function ProjectReleaseTest::providerCreateFromArrayMissingField

Same name in other branches
  1. 9 core/modules/update/tests/src/Unit/ProjectReleaseTest.php \Drupal\Tests\update\Unit\ProjectReleaseTest::providerCreateFromArrayMissingField()
  2. 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 154

Class

ProjectReleaseTest
@coversDefaultClass \Drupal\update\ProjectRelease

Namespace

Drupal\Tests\update\Unit

Code

public static 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.