projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
file
/
src
/
Tests
/
FileOnTranslatedEntityTest.php
diff --git
a/web/core/modules/file/src/Tests/FileOnTranslatedEntityTest.php
b/web/core/modules/file/src/Tests/FileOnTranslatedEntityTest.php
index 5f1e7073df82c63f6b29922b433325dd7108dae4..b8a22ae01b570261f701ca73ea6bb6d9ce9bf6cb 100644
(file)
--- a/
web/core/modules/file/src/Tests/FileOnTranslatedEntityTest.php
+++ b/
web/core/modules/file/src/Tests/FileOnTranslatedEntityTest.php
@@
-29,6
+29,11
@@
class FileOnTranslatedEntityTest extends FileFieldTestBase {
protected function setUp() {
parent::setUp();
protected function setUp() {
parent::setUp();
+ // This test expects unused managed files to be marked as temporary a file.
+ $this->config('file.settings')
+ ->set('make_unused_managed_files_temporary', TRUE)
+ ->save();
+
// Create the "Basic page" node type.
// @todo Remove the disabling of new revision creation in
// https://www.drupal.org/node/1239558.
// Create the "Basic page" node type.
// @todo Remove the disabling of new revision creation in
// https://www.drupal.org/node/1239558.