skip tests if unittest url is not set instead of failing
This commit is contained in:
parent
e715e41cd9
commit
cb4b0469ca
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class TestBaseApi extends TestBase
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
if ($GLOBALS['unittestUrl'] === null) {
|
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) {
|
if ($this->urlPart === null) {
|
||||||
$this->assertTrue(false, 'Set the urlPart variable');
|
$this->assertTrue(false, 'Set the urlPart variable');
|
||||||
|
|
Loading…
Reference in a new issue