From cb4b0469ca48d9865c8b162c1446d9011adf249b Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 25 Jan 2012 23:20:51 +0100 Subject: skip tests if unittest url is not set instead of failing --- tests/TestBaseApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/TestBaseApi.php b/tests/TestBaseApi.php index 1052ae7..ff3b695 100644 --- a/tests/TestBaseApi.php +++ b/tests/TestBaseApi.php @@ -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'); -- cgit v1.2.3