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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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.