public function MigrateLookupTest::providerExceptionOnMultipleMigrationsNotFound in Drupal 10
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrateLookupTest.php \Drupal\Tests\migrate\Unit\MigrateLookupTest::providerExceptionOnMultipleMigrationsNotFound()
Provides data for testExceptionOnMultipleMigrationsNotFound.
File
- core/
modules/ migrate/ tests/ src/ Unit/ MigrateLookupTest.php, line 97
Class
- MigrateLookupTest
- Provides unit testing for the migration lookup service.
Namespace
Drupal\Tests\migrate\UnitCode
public function providerExceptionOnMultipleMigrationsNotFound() {
return [
'array two items' => [
[
'foo',
'bar',
],
"Plugin IDs 'foo', 'bar' were not found.",
],
'empty array' => [
[],
"Plugin IDs '' were not found.",
],
];
}