Mercurial > hg > isophonics-drupal-site
diff core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php Mon Apr 23 09:46:53 2018 +0100 @@ -2,6 +2,8 @@ namespace Drupal\FunctionalJavascriptTests; +use Zumba\Mink\Driver\PhantomJSDriver; + /** * Runs a browser test using PhantomJS. * @@ -12,6 +14,11 @@ /** * {@inheritdoc} */ + protected $minkDefaultDriverClass = PhantomJSDriver::class; + + /** + * {@inheritdoc} + */ public function assertSession($name = NULL) { // Return a WebAssert that supports status code and header assertions. return new JSWebAssert($this->getSession($name), $this->baseUrl);