X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Flocale%2Ftests%2Fsrc%2FFunctional%2FLocaleUpdateBase.php;fp=web%2Fcore%2Fmodules%2Flocale%2Ftests%2Fsrc%2FFunctional%2FLocaleUpdateBase.php;h=2dc379c165048056371c2ff761d24652220614e0;hp=f4c59b2873b4fa6a6eb841111a6509976dd80454;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php b/web/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php index f4c59b287..2dc379c16 100644 --- a/web/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php +++ b/web/core/modules/locale/tests/src/Functional/LocaleUpdateBase.php @@ -138,7 +138,7 @@ EOF; 'status' => FILE_STATUS_PERMANENT, ]); file_put_contents($file->getFileUri(), $po_header . $text); - touch(drupal_realpath($file->getFileUri()), $timestamp); + touch(\Drupal::service('file_system')->realpath($file->getFileUri()), $timestamp); $file->save(); }