public function RequirementsExceptionTest::getRequirementsProvider in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 41 - Contains \Drupal\Tests\migrate\Unit\Exception\RequirementsExceptionTest.
Class
- RequirementsExceptionTest
- @coversDefaultClass \Drupal\migrate\Exception\RequirementsException @group migration
Namespace
Drupal\Tests\migrate\Unit\ExceptionCode
public function getRequirementsProvider() {
return array(
array(
'requirements: random_jackson_pivot.',
'Single Requirement',
array(
'requirements' => $this->missingRequirements[0],
),
),
array(
'requirements: random_jackson_pivot. requirements: 51_Eridani_b.',
'Multiple Requirements',
array(
'requirements' => $this->missingRequirements,
),
),
);
}