Skip to content
Snippets Groups Projects
Commit 5b55ea81 authored by Alex Pott's avatar Alex Pott
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -239,7 +239,9 @@ protected function setUp() { ...@@ -239,7 +239,9 @@ protected function setUp() {
// coverage against. // coverage against.
$base_url = getenv('SIMPLETEST_BASE_URL'); $base_url = getenv('SIMPLETEST_BASE_URL');
if (!$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. // Setup $_SERVER variable.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment