From 77a71d1c9c1e8bca575065fec4b532201457bff0 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 4 May 2018 09:58:21 -0600 Subject: [PATCH] Some more debug for Travis --- api/tests/Vfs/SharingBase.php | 1 + api/tests/Vfs/SharingTest.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/tests/Vfs/SharingBase.php b/api/tests/Vfs/SharingBase.php index e354e1b4ad..50cb347f9e 100644 --- a/api/tests/Vfs/SharingBase.php +++ b/api/tests/Vfs/SharingBase.php @@ -424,6 +424,7 @@ class SharingBase extends LoggedInTest echo __METHOD__ . "('$path',$mode)\n"; } // Setup - create path and share + $_SERVER['HTTP_HOST'] = 'localhost'; $share = $this->createShare($path, $mode, $extra); $link = Vfs\Sharing::share2link($share); echo __METHOD__ . " link: $link\n"; diff --git a/api/tests/Vfs/SharingTest.php b/api/tests/Vfs/SharingTest.php index 98e3301e63..97ee1a2d1e 100644 --- a/api/tests/Vfs/SharingTest.php +++ b/api/tests/Vfs/SharingTest.php @@ -33,7 +33,7 @@ class SharingTest extends SharingBase { $dir = Vfs::get_home_dir().'/'; error_log(__METHOD__ . " Dir: $dir"); -var_dump($GLOBALS['egw_info']['server']); +error_log(array2string($GLOBALS['egw_info']['server'])); $this->checkDirectory($dir, Sharing::READONLY); }