diff --git a/core/modules/file/src/Tests/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php b/core/modules/file/src/Tests/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php new file mode 100644 index 0000000000..f1fef088cf --- /dev/null +++ b/core/modules/file/src/Tests/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php @@ -0,0 +1,40 @@ +databaseDumpFiles = [ + __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + ]; + } + + /** + * Tests that block context mapping is updated properly. + */ + public function testUpdateHookN() { + $this->assertIdentical($this->config('file.settings')->get('make_unused_managed_files_temporary'), NULL); + $this->runUpdates(); + $this->assertIdentical($this->config('file.settings')->get('make_unused_managed_files_temporary'), FALSE); + $this->assertResponse('200'); + } + +}