Fix CS in CacheTest
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
72e6201869
commit
c6d2d8746c
|
@ -548,7 +548,7 @@ class CacheTest extends TestCase {
|
|||
self::loginHelper(self::TEST_FILES_SHARING_API_USER2);
|
||||
|
||||
/** @var SharedStorage $sharedStorage */
|
||||
list($sharedStorage) = \OC\Files\Filesystem::resolvePath('/' . self::TEST_FILES_SHARING_API_USER2 . '/files/sub');
|
||||
[$sharedStorage] = \OC\Files\Filesystem::resolvePath('/' . self::TEST_FILES_SHARING_API_USER2 . '/files/sub');
|
||||
|
||||
$results = $sharedStorage->getCache()->search("foo.txt");
|
||||
$this->assertCount(1, $results);
|
||||
|
|
Loading…
Reference in New Issue