Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / comment / src / Tests / CommentNewIndicatorTest.php
index 55609e3778e51db6b10f7452bee5929cb944a368..318e17c57cd799b123a87b0d149afc850b623a66 100644 (file)
@@ -129,10 +129,12 @@ class CommentNewIndicatorTest extends CommentTestBase {
     $response = $this->renderNewCommentsNodeLinks([$this->node->id()]);
     $this->assertResponse(200);
     $json = Json::decode($response);
-    $expected = [$this->node->id() => [
-      'new_comment_count' => 1,
-      'first_new_comment_link' => $this->node->url('canonical', ['fragment' => 'new']),
-    ]];
+    $expected = [
+      $this->node->id() => [
+        'new_comment_count' => 1,
+        'first_new_comment_link' => $this->node->url('canonical', ['fragment' => 'new']),
+      ],
+    ];
     $this->assertIdentical($expected, $json);
 
     // Failing to specify node IDs for the endpoint should return a 404.