diff --git a/core/modules/statistics/src/Tests/StatisticsAttachedTest.php b/core/modules/statistics/src/Tests/StatisticsAttachedTest.php index ff4e915..48194ff 100644 --- a/core/modules/statistics/src/Tests/StatisticsAttachedTest.php +++ b/core/modules/statistics/src/Tests/StatisticsAttachedTest.php @@ -32,7 +32,7 @@ protected function setUp() { $this->drupalCreateContentType(['type' => 'page']); - // Install "block_test_theme" and set it as the default theme. + // Install "statistics_test_attached" and set it as the default theme. $theme = 'statistics_test_attached'; \Drupal::service('theme_handler')->install(array($theme)); $this->config('system.theme') @@ -54,10 +54,9 @@ public function testAttached() { 'body' => 'body text' ]); $node->save(); - $page = $this->drupalGet('node/' . $node->id()); + $this->drupalGet('node/' . $node->id()); - global $base_root; - $this->assertNotIdentical(strpos($page, '