Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/tour/tests/src/Functional/TourTest.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children | 12f9dff5fda9 |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
43 protected function setUp() { | 43 protected function setUp() { |
44 parent::setUp(); | 44 parent::setUp(); |
45 | 45 |
46 $this->drupalPlaceBlock('local_actions_block', [ | 46 $this->drupalPlaceBlock('local_actions_block', [ |
47 'theme' => 'seven', | 47 'theme' => 'seven', |
48 'region' => 'content' | 48 'region' => 'content', |
49 ]); | 49 ]); |
50 } | 50 } |
51 | 51 |
52 /** | 52 /** |
53 * Test tour functionality. | 53 * Test tour functionality. |
128 'plugin' => 'image', | 128 'plugin' => 'image', |
129 'label' => 'The awesome image', | 129 'label' => 'The awesome image', |
130 'url' => 'http://local/image.png', | 130 'url' => 'http://local/image.png', |
131 'weight' => 1, | 131 'weight' => 1, |
132 'attributes' => [ | 132 'attributes' => [ |
133 'data-id' => 'tour-code-test-2' | 133 'data-id' => 'tour-code-test-2', |
134 ], | 134 ], |
135 ], | 135 ], |
136 ], | 136 ], |
137 ]); | 137 ]); |
138 $tour->save(); | 138 $tour->save(); |