public function RequirementsExceptionTest::getRequirementsProvider in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php \Drupal\Tests\migrate\Unit\Exception\RequirementsExceptionTest::getRequirementsProvider()
- 9 core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php \Drupal\Tests\migrate\Unit\Exception\RequirementsExceptionTest::getRequirementsProvider()
Provides a list of requirements to test.
File
- core/
modules/ migrate/ tests/ src/ Unit/ Exception/ RequirementsExceptionTest.php, line 36
Class
- RequirementsExceptionTest
- @coversDefaultClass \Drupal\migrate\Exception\RequirementsException @group migrate
Namespace
Drupal\Tests\migrate\Unit\ExceptionCode
public function getRequirementsProvider() {
return [
[
'requirements: random_jackson_pivot.',
'Single Requirement',
[
'requirements' => $this->missingRequirements[0],
],
],
[
'requirements: random_jackson_pivot. requirements: 51_Eridani_b.',
'Multiple Requirements',
[
'requirements' => $this->missingRequirements,
],
],
];
}