Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / Tests / Core / EventSubscriber / ExceptionJsonSubscriberTest.php
index 8f339a839dcdfa283050249f7fc05c69c2536053..2fadea64268b5388897adea33086941af33fb267 100644 (file)
@@ -43,11 +43,11 @@ class ExceptionJsonSubscriberTest extends UnitTestCase {
     return [
       'uncacheable exception' => [
         new MethodNotAllowedHttpException(['POST', 'PUT'], 'test message'),
-        JsonResponse::class
+        JsonResponse::class,
       ],
       'cacheable exception' => [
         new CacheableMethodNotAllowedHttpException((new CacheableMetadata())->setCacheContexts(['route']), ['POST', 'PUT'], 'test message'),
-        CacheableJsonResponse::class
+        CacheableJsonResponse::class,
       ],
     ];
   }