diff core/modules/dblog/tests/src/Functional/DbLogResourceTest.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 7a779792577d
children 129ea1e6d783
line wrap: on
line diff
--- a/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/modules/dblog/tests/src/Functional/DbLogResourceTest.php	Mon Apr 23 09:46:53 2018 +0100
@@ -62,7 +62,7 @@
       ->fetchField();
 
     $this->initAuthentication();
-    $url = Url::fromRoute('rest.dblog.GET.' . static::$format, ['id' => $id, '_format' => static::$format]);
+    $url = Url::fromRoute('rest.dblog.GET', ['id' => $id, '_format' => static::$format]);
     $request_options = $this->getAuthenticationRequestOptions('GET');
 
     $response = $this->request('GET', $url, $request_options);