mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Use Travis environment variable to skip the sharing tests that fail instead of always skipping them
This commit is contained in:
parent
609554a862
commit
12648ad74f
@ -61,7 +61,11 @@ class SharingBase extends LoggedInTest
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
if(getenv('TRAVIS'))
|
||||
{
|
||||
// TODO: Figure out why this doesn't work on Travis
|
||||
$this->markTestSkipped("Travis doesn't like these. " . __METHOD__ . ':'.__LINE__);
|
||||
}
|
||||
// Check we have basic access
|
||||
if(!is_readable($GLOBALS['egw_info']['server']['files_dir']))
|
||||
{
|
||||
@ -587,7 +591,7 @@ class TestSharing extends Api\Sharing {
|
||||
'', 'text', false, false)))
|
||||
{
|
||||
// Allow for testing
|
||||
$sessionid = 'CLI_TEST';
|
||||
$sessionid = 'CLI_TEST ' . time();
|
||||
$GLOBALS['egw']->session->sessionid = $sessionid;
|
||||
}
|
||||
return $sessionid;
|
||||
|
Loading…
Reference in New Issue
Block a user