public function MigrateSqlIdMapTest::errorCountDataProvider in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php \Drupal\Tests\migrate\Unit\MigrateSqlIdMapTest::errorCountDataProvider()
- 9 core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php \Drupal\Tests\migrate\Unit\MigrateSqlIdMapTest::errorCountDataProvider()
Data provider for testErrorCount().
Scenarios to test for:
- No errors.
- One error.
- Multiple errors.
Return value
array An array of data values.
File
- core/
modules/ migrate/ tests/ src/ Unit/ MigrateSqlIdMapTest.php, line 806
Class
- MigrateSqlIdMapTest
- Tests the SQL ID map plugin.
Namespace
Drupal\Tests\migrate\UnitCode
public function errorCountDataProvider() {
return [
[
0,
],
[
1,
],
[
3,
],
];
}