projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
modules
/
update
/
tests
/
src
/
Functional
/
UpdateDeleteFileIfStaleTest.php
diff --git
a/web/core/modules/update/tests/src/Functional/UpdateDeleteFileIfStaleTest.php
b/web/core/modules/update/tests/src/Functional/UpdateDeleteFileIfStaleTest.php
index 601a6cc2ff04b0f7b454643cca9df6bb22c57c96..33c4ed3f0fe2246c5af5fc63fcdf82bbb9af5e61 100644
(file)
--- a/
web/core/modules/update/tests/src/Functional/UpdateDeleteFileIfStaleTest.php
+++ b/
web/core/modules/update/tests/src/Functional/UpdateDeleteFileIfStaleTest.php
@@
-38,7
+38,7
@@
class UpdateDeleteFileIfStaleTest extends UpdateTestBase {
->set('temporary_maximum_age', -100000)
->save();
- $file_path =
drupal_
realpath($file_name);
+ $file_path =
\Drupal::service('file_system')->
realpath($file_name);
update_delete_file_if_stale($file_path);
$this->assertFalse(is_file($file_path));