Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / statistics / tests / src / Functional / StatisticsLoggingTest.php
index 09565aefae7351c87ac1fc1b8016339a497e741a..ea87a7cd4466057419fce96a7fac6708a81384df 100644 (file)
@@ -39,7 +39,7 @@ class StatisticsLoggingTest extends BrowserTestBase {
   /**
    * The Guzzle HTTP client.
    *
-   * @var \GuzzleHttp\Client;
+   * @var \GuzzleHttp\Client
    */
   protected $client;
 
@@ -125,7 +125,7 @@ class StatisticsLoggingTest extends BrowserTestBase {
     $post = ['nid' => $this->node->id()];
     $this->client->post($base_root . $stats_path, ['form_params' => $post]);
     $node_counter = statistics_get($this->node->id());
-    $this->assertIdentical($node_counter['totalcount'], '1');
+    $this->assertIdentical($node_counter['totalcount'], 1);
 
     // Try fetching statistics for an invalid node ID and verify it returns
     // FALSE.