ParagraphsTypeSourceTest.php in Paragraphs 8
File
tests/src/Kernel/migrate/ParagraphsTypeSourceTest.php
View source
<?php
namespace Drupal\Tests\paragraphs\Kernel\migrate;
use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
use Drupal\Tests\paragraphs\Traits\ParagraphsSourceData;
class ParagraphsTypeSourceTest extends MigrateSqlSourceTestBase {
use ParagraphsSourceData;
public static $modules = [
'migrate_drupal',
'paragraphs',
];
public function providerSource() {
$data = $this
->getSourceData();
$data[0]['expected_results'] = [
[
'bundle' => 'paragraphs_field',
'name' => 'Paragraphs Field',
'locked' => '1',
'description' => '',
],
];
return $data;
}
}