X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fstatistics%2Ftests%2Fsrc%2FFunctional%2FStatisticsLoggingTest.php;fp=web%2Fcore%2Fmodules%2Fstatistics%2Ftests%2Fsrc%2FFunctional%2FStatisticsLoggingTest.php;h=ea87a7cd4466057419fce96a7fac6708a81384df;hp=09565aefae7351c87ac1fc1b8016339a497e741a;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php b/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php index 09565aefa..ea87a7cd4 100644 --- a/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php +++ b/web/core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php @@ -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.