@@ -39,6 +39,8 @@ class ShareTest extends TestCase {
3939
4040 private static $ tempStorage ;
4141
42+ private string $ subsubfolder = '' ;
43+
4244 protected function setUp (): void {
4345 parent ::setUp ();
4446
@@ -176,14 +178,14 @@ public function testShareWithGroupUniqueName() {
176178
177179 $ shares = $ this ->shareManager ->getSharedWith (self ::TEST_FILES_SHARING_API_USER2 , IShare::TYPE_GROUP );
178180 $ share = $ shares [0 ];
179- $ this ->assertSame ('/test.txt ' , $ share ->getTarget ());
181+ $ this ->assertSame ('/test.txt ' , $ share ->getTarget ());
180182 $ this ->assertSame (19 , $ share ->getPermissions ());
181183
182184 \OC \Files \Filesystem::rename ('test.txt ' , 'new test.txt ' );
183185
184186 $ shares = $ this ->shareManager ->getSharedWith (self ::TEST_FILES_SHARING_API_USER2 , IShare::TYPE_GROUP );
185187 $ share = $ shares [0 ];
186- $ this ->assertSame ('/new test.txt ' , $ share ->getTarget ());
188+ $ this ->assertSame ('/new test.txt ' , $ share ->getTarget ());
187189 $ this ->assertSame (19 , $ share ->getPermissions ());
188190
189191 $ share ->setPermissions (\OCP \Constants::PERMISSION_READ | \OCP \Constants::PERMISSION_UPDATE );
@@ -193,7 +195,7 @@ public function testShareWithGroupUniqueName() {
193195 $ shares = $ this ->shareManager ->getSharedWith (self ::TEST_FILES_SHARING_API_USER2 , IShare::TYPE_GROUP );
194196 $ share = $ shares [0 ];
195197
196- $ this ->assertSame ('/new test.txt ' , $ share ->getTarget ());
198+ $ this ->assertSame ('/new test.txt ' , $ share ->getTarget ());
197199 $ this ->assertSame (3 , $ share ->getPermissions ());
198200 }
199201
0 commit comments