function SecurityAdvisoryTest::providerCreateFromArrayMissingField
Same name in other branches
- 10 core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php \Drupal\Tests\system\Unit\SecurityAdvisories\SecurityAdvisoryTest::providerCreateFromArrayMissingField()
- 11.x 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 111
Class
- SecurityAdvisoryTest
- @coversDefaultClass \Drupal\system\SecurityAdvisories\SecurityAdvisory
Namespace
Drupal\Tests\system\Unit\SecurityAdvisoriesCode
public 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.