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