function SecurityAdvisoryTest::providerCreateFromArrayMissingField
Same name in other branches
- 9 core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php \Drupal\Tests\system\Unit\SecurityAdvisories\SecurityAdvisoryTest::providerCreateFromArrayMissingField()
- 10 core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php \Drupal\Tests\system\Unit\SecurityAdvisories\SecurityAdvisoryTest::providerCreateFromArrayMissingField()
Data provider for testCreateFromArrayMissingField().
File
-
core/
modules/ system/ tests/ src/ Unit/ SecurityAdvisories/ SecurityAdvisoryTest.php, line 113
Class
- SecurityAdvisoryTest
- @coversDefaultClass \Drupal\system\SecurityAdvisories\SecurityAdvisory
Namespace
Drupal\Tests\system\Unit\SecurityAdvisoriesCode
public static function providerCreateFromArrayMissingField() : array {
return [
'title' => [
'title',
],
'link' => [
'link',
],
'project' => [
'project',
],
'type' => [
'type',
],
'is_psa' => [
'is_psa',
],
'insecure' => [
'insecure',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.