Commit 5b55ea81 authored by alexpott's avatar alexpott

Issue #2478247 by Mile23: SIMPLETEST_BASE_URL is an environmental requirement...

Issue #2478247 by Mile23: SIMPLETEST_BASE_URL is an environmental requirement which should not fail tests
parent ea0ec708
......@@ -239,7 +239,9 @@ protected function setUp() {
// coverage against.
$base_url = getenv('SIMPLETEST_BASE_URL');
if (!$base_url) {
throw new \InvalidArgumentException('You must provide a SIMPLETEST_BASE_URL environment variable to run PHPUnit based functional tests.');
$this->markTestSkipped(
'You must provide a SIMPLETEST_BASE_URL environment variable to run some PHPUnit based functional tests.'
);
}
// Setup $_SERVER variable.
......
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