diff --git a/core/modules/system/lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php b/core/modules/system/lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php index db95f06..42719e2 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php @@ -34,6 +34,10 @@ public function testSystemVariableUpgrade() { $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // Verify that variables were properly upgraded. + $expected_state['node.node_access_needs_rebuild'] = array( + 'value' => TRUE, + 'variable_name' => 'node_access_needs_rebuild', + ); $expected_config['system.cron'] = array( 'key' => 'kdm95qppDDlyZrcUOx453YwQqDA4DNmxi4VQcxzFU9M', 'threshold.autorun' => '86400', diff --git a/core/modules/system/tests/upgrade/drupal-7.system.database.php b/core/modules/system/tests/upgrade/drupal-7.system.database.php index 8afbc12..04fb0c4 100644 --- a/core/modules/system/tests/upgrade/drupal-7.system.database.php +++ b/core/modules/system/tests/upgrade/drupal-7.system.database.php @@ -76,6 +76,10 @@ 'value' => 's:6:"teaser";', )) ->values(array( + 'name' => 'node_access_needs_rebuild', + 'value'=> serialize(TRUE), + )) +->values(array( 'name' => 'site_403', 'value' => 's:3:"403";', ))