Fix collabora tests to use correct class (Wopi) rather than parent

This commit is contained in:
nathangray 2020-04-06 11:00:42 -06:00
parent b1cb9c10ef
commit 6711e3a75f

View File

@ -473,6 +473,7 @@ class SharingBase extends LoggedInTest
} }
// Setup for share to load // Setup for share to load
$_GET['access_token'] = $share['share_token'];
$_SERVER['REQUEST_URI'] = $link; $_SERVER['REQUEST_URI'] = $link;
preg_match('|^https?://[^/]+(/.*)share.php/'.$share['share_token'].'$|', $path_info=$_SERVER['REQUEST_URI'], $matches); preg_match('|^https?://[^/]+(/.*)share.php/'.$share['share_token'].'$|', $path_info=$_SERVER['REQUEST_URI'], $matches);
$_SERVER['SCRIPT_NAME'] = $matches[1]; $_SERVER['SCRIPT_NAME'] = $matches[1];