Some more debug for Travis

This commit is contained in:
nathangray 2018-05-04 09:58:21 -06:00
parent a7a2092a48
commit 77a71d1c9c
2 changed files with 2 additions and 1 deletions

View File

@ -424,6 +424,7 @@ class SharingBase extends LoggedInTest
echo __METHOD__ . "('$path',$mode)\n"; echo __METHOD__ . "('$path',$mode)\n";
} }
// Setup - create path and share // Setup - create path and share
$_SERVER['HTTP_HOST'] = 'localhost';
$share = $this->createShare($path, $mode, $extra); $share = $this->createShare($path, $mode, $extra);
$link = Vfs\Sharing::share2link($share); $link = Vfs\Sharing::share2link($share);
echo __METHOD__ . " link: $link\n"; echo __METHOD__ . " link: $link\n";

View File

@ -33,7 +33,7 @@ class SharingTest extends SharingBase
{ {
$dir = Vfs::get_home_dir().'/'; $dir = Vfs::get_home_dir().'/';
error_log(__METHOD__ . " Dir: $dir"); error_log(__METHOD__ . " Dir: $dir");
var_dump($GLOBALS['egw_info']['server']); error_log(array2string($GLOBALS['egw_info']['server']));
$this->checkDirectory($dir, Sharing::READONLY); $this->checkDirectory($dir, Sharing::READONLY);
} }