diff --git a/core/modules/views_ui/tests/src/Functional/UITestBase.php b/core/modules/views_ui/tests/src/Functional/UITestBase.php index 303fb1d..b2f5388 100644 --- a/core/modules/views_ui/tests/src/Functional/UITestBase.php +++ b/core/modules/views_ui/tests/src/Functional/UITestBase.php @@ -72,7 +72,7 @@ public function randomView(array $view = array()) { /** * {@inheritdoc} */ - protected function drupalGet($path, array $options = array()) { + protected function drupalGet($path, array $options = [], array $headers = []) { $url = $this->buildUrl($path, $options); // Ensure that each nojs page is accessible via ajax as well. @@ -84,7 +84,7 @@ protected function drupalGet($path, array $options = array()) { $this->assertTrue(json_decode($result), 'Ensure that the AJAX request returned valid content.'); } - return parent::drupalGet($path, $options); + return parent::drupalGet($path, $options, $headers); } }