diff --git a/core/modules/simpletest/src/JavascriptTestBase.php b/core/modules/simpletest/src/JavascriptTestBase.php index a9c66a6..f7cdc11 100644 --- a/core/modules/simpletest/src/JavascriptTestBase.php +++ b/core/modules/simpletest/src/JavascriptTestBase.php @@ -33,14 +33,13 @@ /** * {@inheritdoc} */ - protected function setUp() { - parent::setUp(); - + protected function initMink() { // Setup some template cache using by the phantomjs mink driver. - $path = '/tmp/browsertestbase-templatecache'; + $path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'browsertestbase-templatecache'; if (!file_exists($path)) { mkdir($path); } + parent::initMink(); } }