Mercurial > hg > isophonics-drupal-site
comparison core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
44 public function testAttached() { | 44 public function testAttached() { |
45 | 45 |
46 $node = Node::create([ | 46 $node = Node::create([ |
47 'type' => 'page', | 47 'type' => 'page', |
48 'title' => 'Page node', | 48 'title' => 'Page node', |
49 'body' => 'body text' | 49 'body' => 'body text', |
50 ]); | 50 ]); |
51 $node->save(); | 51 $node->save(); |
52 $this->drupalGet('node/' . $node->id()); | 52 $this->drupalGet('node/' . $node->id()); |
53 | 53 |
54 $this->assertRaw('core/modules/statistics/statistics.js', 'Statistics library is available'); | 54 $this->assertRaw('core/modules/statistics/statistics.js', 'Statistics library is available'); |