X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fsrc%2FKernel%2FMigrate%2Fd6%2FMigrateTermNodeRevisionTest.php;h=25544486ab2862e5f72f49f030b2928c6084ba33;hp=614725d966ecc017136a368231571d667a4189b9;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php b/web/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php index 614725d96..25544486a 100644 --- a/web/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php +++ b/web/core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php @@ -31,7 +31,7 @@ class MigrateTermNodeRevisionTest extends MigrateDrupal6TestBase { * Tests the Drupal 6 term-node revision association to Drupal 8 migration. */ public function testTermRevisionNode() { - $node = \Drupal::entityManager()->getStorage('node')->loadRevision(2); + $node = \Drupal::entityManager()->getStorage('node')->loadRevision(2001); $this->assertSame(2, count($node->field_vocabulary_3_i_2_)); $this->assertSame('4', $node->field_vocabulary_3_i_2_[0]->target_id); $this->assertSame('5', $node->field_vocabulary_3_i_2_[1]->target_id);