aboutsummaryrefslogtreecommitdiff
path: root/tests/TestBaseApi.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-01-25 23:20:51 +0100
committerChristian Weiske <cweiske@cweiske.de>2012-01-25 23:20:51 +0100
commitcb4b0469ca48d9865c8b162c1446d9011adf249b (patch)
tree85df11bf607cd800824867fc08ead29e183d023a /tests/TestBaseApi.php
parente715e41cd9cdce16cfff6a7359a42cd36754dc2f (diff)
downloadsemanticscuttle-cb4b0469ca48d9865c8b162c1446d9011adf249b.tar.gz
semanticscuttle-cb4b0469ca48d9865c8b162c1446d9011adf249b.tar.bz2
skip tests if unittest url is not set instead of failing
Diffstat (limited to 'tests/TestBaseApi.php')
-rw-r--r--tests/TestBaseApi.php2
1 files changed, 1 insertions, 1 deletions
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');