TrackerUserTest.php in Drupal 9
File
core/modules/tracker/tests/src/Kernel/Plugin/migrate/source/d7/TrackerUserTest.php
View source
<?php
namespace Drupal\Tests\tracker\Kernel\Plugin\migrate\source\d7;
use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
class TrackerUserTest extends MigrateSqlSourceTestBase {
protected static $modules = [
'tracker',
'migrate_drupal',
];
public function providerSource() {
$tests = [];
$tests[0]['database']['tracker_user'] = [
[
'nid' => '1',
'uid' => '2',
'published' => '1',
'changed' => '1421727536',
],
];
$tests[0]['expected_results'] = $tests[0]['database']['tracker_user'];
return $tests;
}
}