]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
skip tests if unittest url is not set instead of failing
authorChristian Weiske <cweiske@cweiske.de>
Wed, 25 Jan 2012 22:20:51 +0000 (23:20 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 25 Jan 2012 22:20:51 +0000 (23:20 +0100)
tests/TestBaseApi.php

index 1052ae7c4aa703eac101713ec96770ed274d5430..ff3b6953260c2328e2624d79fee1d9f243c44a5c 100644 (file)
@@ -55,7 +55,7 @@ class TestBaseApi extends TestBase
     protected function setUp()
     {
         if ($GLOBALS['unittestUrl'] === null) {
-            $this->assertTrue(false, 'Unittest URL not set in config');
+            $this->markTestSkipped('Unittest URL not set in config');
         }
         if ($this->urlPart === null) {
             $this->assertTrue(false, 'Set the urlPart variable');