Mercurial > hg > isophonics-drupal-site
comparison core/modules/views/tests/src/Kernel/ViewExecutableTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
134 $display_hash = spl_object_hash($view->display_handler); | 134 $display_hash = spl_object_hash($view->display_handler); |
135 | 135 |
136 // Test the initStyle() method. | 136 // Test the initStyle() method. |
137 $view->initStyle(); | 137 $view->initStyle(); |
138 $this->assertTrue($view->style_plugin instanceof DefaultStyle, 'Make sure a reference to the style plugin is set.'); | 138 $this->assertTrue($view->style_plugin instanceof DefaultStyle, 'Make sure a reference to the style plugin is set.'); |
139 // Test the plugin has been inited and view have references to the view and | 139 // Test the plugin has been invited and view have references to the view and |
140 // display handler. | 140 // display handler. |
141 $this->assertEqual(spl_object_hash($view->style_plugin->view), $view_hash); | 141 $this->assertEqual(spl_object_hash($view->style_plugin->view), $view_hash); |
142 $this->assertEqual(spl_object_hash($view->style_plugin->displayHandler), $display_hash); | 142 $this->assertEqual(spl_object_hash($view->style_plugin->displayHandler), $display_hash); |
143 | 143 |
144 // Test the initQuery method(). | 144 // Test the initQuery method(). |