__DIR__ . '/../../../../../system/tests/fixtures/update/drupal-9.4.0.bare.standard.php.gz',
__DIR__ . '/../../../fixtures/update/fix-revision-id-update.php',
];
} /**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
$this->
installModulesFromClassProperty($this->container
);
} /**
* Tests the upgrade path for revision ids in field aliases.
*/
public function testViewsPostUpdateFixRevisionId() { $view = View::
load('test_fix_revision_id_update'
);
$data =
$view->
toArray();
$fields =
$data['display'
]['default'
]['display_options'
]['fields'
];
$this->
assertArrayHasKey('field_test-revision_id_1',
$fields);