mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
tests(Etags):: create new View after (re)login
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
9fc64423a5
commit
257495eb53
1 changed files with 2 additions and 1 deletions
|
|
@ -109,8 +109,9 @@ class EtagPropagationTest extends PropagationTestCase {
|
|||
$view2 = new View('/' . self::TEST_FILES_SHARING_API_USER2 . '/files');
|
||||
$view2->mkdir('/sub1/sub2');
|
||||
$view2->rename('/folder', '/sub1/sub2/folder');
|
||||
|
||||
$this->loginAsUser(self::TEST_FILES_SHARING_API_USER2);
|
||||
|
||||
$view2 = new View('/' . self::TEST_FILES_SHARING_API_USER2 . '/files');
|
||||
$insideInfo = $view2->getFileInfo('/sub1/sub2/folder/inside');
|
||||
$this->assertInstanceOf('\OC\Files\FileInfo', $insideInfo);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue