Commit 918731d6 authored by alexpott's avatar alexpott

Issue #2803117 by chx: JavascriptTestBase catches the wrong exception

parent 2c6f28be
......@@ -38,7 +38,7 @@ protected function initMink() {
catch (DeadClient $e) {
$this->markTestSkipped('PhantomJS is either not installed or not running. Start it via phantomjs --ssl-protocol=any --ignore-ssl-errors=true vendor/jcalderonzumba/gastonjs/src/Client/main.js 8510 1024 768&');
}
catch (Exception $e) {
catch (\Exception $e) {
$this->markTestSkipped('An unexpected error occurred while starting Mink: ' . $e->getMessage());
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment