mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
fix test case for when a user is logged in
This commit is contained in:
parent
f77dc9b30f
commit
804372947a
1 changed files with 4 additions and 1 deletions
|
|
@ -79,7 +79,10 @@ class Test_Filesystem extends UnitTestCase {
|
|||
|
||||
OC_Filesystem::mount('OC_Filestorage_Temporary', array(), '/');
|
||||
|
||||
OC_Filesystem::init('');
|
||||
$rootView=new OC_FilesystemView('');
|
||||
$rootView->mkdir('/'.$user);
|
||||
$rootView->mkdir('/'.$user.'/files');
|
||||
|
||||
OC_Filesystem::file_put_contents('/foo', 'foo');
|
||||
OC_Filesystem::mkdir('/bar');
|
||||
OC_Filesystem::file_put_contents('/bar//foo', 'foo');
|
||||
|
|
|
|||
Loading…
Reference in a new issue