Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / dblog / tests / src / Functional / DbLogResourceTest.php
index db05b4387df27fe283238596391e274ac9590460..0d4630318efebc458ef02da7322e91dd87d110d5 100644 (file)
@@ -62,7 +62,7 @@ class DbLogResourceTest extends ResourceTestBase {
       ->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);