updated core to 8.6.3

This commit is contained in:
2018-11-21 12:49:46 +01:00
parent 8ca34853a3
commit c92c348eee
521 changed files with 12199 additions and 4578 deletions
+12 -1
View File
@@ -6,6 +6,12 @@ migration_tags:
source:
plugin: d7_rdf_mapping
process:
id:
plugin: concat
source:
- type
- bundle
delimiter: .
targetEntityType: type
bundle: bundle
types: types
@@ -15,7 +21,12 @@ process:
process:
properties: predicates
datatype: datatype
datatype_callback/callable: callback
datatype_callback/callable:
plugin: static_map
source: callback
bypass: true
map:
date_iso8601: Drupal\rdf\CommonDataConverter::dateIso8601Value
mapping_type: type
destination:
plugin: entity:rdf_mapping
@@ -2,7 +2,7 @@
namespace Drupal\Tests\rdf\Kernel\Field;
use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait;
use Drupal\Tests\field\Traits\EntityReferenceTestTrait;
use Drupal\user\Entity\Role;
use Drupal\user\RoleInterface;
@@ -98,7 +98,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'changed' => [
@@ -107,7 +107,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'body' => [
@@ -138,7 +138,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
]
@@ -165,7 +165,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'changed' => [
@@ -174,7 +174,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'body' => [
@@ -205,7 +205,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
]
@@ -238,7 +238,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'changed' => [
@@ -247,7 +247,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'body' => [
@@ -278,7 +278,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
]
@@ -304,7 +304,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'changed' => [
@@ -313,7 +313,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
'body' => [
@@ -344,7 +344,7 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
'datatype' => 'xsd:dateTime',
'datatype_callback' => [
'callable' => 'date_iso8601',
'callable' => 'Drupal\rdf\CommonDataConverter::dateIso8601Value',
],
],
]
@@ -384,6 +384,12 @@ class MigrateRdfMappingTest extends MigrateDrupal7TestBase {
],
]
);
// Clear the map table and check that the migration runs successfully when
// the rdf mappings already exist.
$id_map = $this->getMigration('d7_rdf_mapping')->getIdMap();
$id_map->destroy();
$this->executeMigration('d7_rdf_mapping');
}
}