forked from extern/egroupware
- 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];
|
||||
$is_dir = Vfs::is_dir($path);
|
||||
|
||||
// Log out & clear cache
|
||||
LoggedInTest::tearDownAfterClass();
|
||||
|
||||
// Re-init, since they look at user, fstab, etc.
|
||||
// Also, further tests that access the filesystem fail if we don't
|
||||
@ -449,6 +447,8 @@ class SharingBase extends LoggedInTest
|
||||
Vfs::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($is_dir)
|
||||
|
@ -163,7 +163,7 @@ error_log(array2string($GLOBALS['egw_info']['server']));
|
||||
{
|
||||
if(!class_exists("\EGroupware\Stylite\Vfs\Merge\StreamWrapper"))
|
||||
{
|
||||
$this->markTestAsSkipped();
|
||||
$this->markTestSkipped();
|
||||
return;
|
||||
}
|
||||
// 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"))
|
||||
{
|
||||
$this->markTestAsSkipped();
|
||||
$this->markTestSkipped();
|
||||
return;
|
||||
}
|
||||
// Don't add to files list or it deletes the folder from filesystem
|
||||
|
Loading…
Reference in New Issue
Block a user