mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
- Fix incorrect skipped method
- Move cache clear before logout
This commit is contained in:
parent
77a71d1c9c
commit
bd570c3676
@ -440,8 +440,6 @@ class SharingBase extends LoggedInTest
|
|||||||
$_SERVER['SCRIPT_NAME'] = $matches[1];
|
$_SERVER['SCRIPT_NAME'] = $matches[1];
|
||||||
$is_dir = Vfs::is_dir($path);
|
$is_dir = Vfs::is_dir($path);
|
||||||
|
|
||||||
// Log out & clear cache
|
|
||||||
LoggedInTest::tearDownAfterClass();
|
|
||||||
|
|
||||||
// Re-init, since they look at user, fstab, etc.
|
// Re-init, since they look at user, fstab, etc.
|
||||||
// Also, further tests that access the filesystem fail if we don't
|
// Also, further tests that access the filesystem fail if we don't
|
||||||
@ -449,6 +447,8 @@ class SharingBase extends LoggedInTest
|
|||||||
Vfs::init_static();
|
Vfs::init_static();
|
||||||
Vfs\StreamWrapper::init_static();
|
Vfs\StreamWrapper::init_static();
|
||||||
|
|
||||||
|
// Log out & clear cache
|
||||||
|
LoggedInTest::tearDownAfterClass();
|
||||||
|
|
||||||
// If it's a directory, check to make sure it gives the filemanager UI
|
// If it's a directory, check to make sure it gives the filemanager UI
|
||||||
if($is_dir)
|
if($is_dir)
|
||||||
|
@ -163,7 +163,7 @@ error_log(array2string($GLOBALS['egw_info']['server']));
|
|||||||
{
|
{
|
||||||
if(!class_exists("\EGroupware\Stylite\Vfs\Merge\StreamWrapper"))
|
if(!class_exists("\EGroupware\Stylite\Vfs\Merge\StreamWrapper"))
|
||||||
{
|
{
|
||||||
$this->markTestAsSkipped();
|
$this->markTestSkipped();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Don't add to files list or it deletes the folder from filesystem
|
// Don't add to files list or it deletes the folder from filesystem
|
||||||
@ -191,7 +191,7 @@ error_log(array2string($GLOBALS['egw_info']['server']));
|
|||||||
{
|
{
|
||||||
if(!class_exists("\EGroupware\Stylite\Vfs\Merge\StreamWrapper"))
|
if(!class_exists("\EGroupware\Stylite\Vfs\Merge\StreamWrapper"))
|
||||||
{
|
{
|
||||||
$this->markTestAsSkipped();
|
$this->markTestSkipped();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Don't add to files list or it deletes the folder from filesystem
|
// Don't add to files list or it deletes the folder from filesystem
|
||||||
|
Loading…
Reference in New Issue
Block a user