diff options
Diffstat (limited to 'tests/lib/Files/Config/UserMountCacheTest.php')
-rw-r--r-- | tests/lib/Files/Config/UserMountCacheTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Config/UserMountCacheTest.php b/tests/lib/Files/Config/UserMountCacheTest.php index 6f347a504cb..2bea4f8389a 100644 --- a/tests/lib/Files/Config/UserMountCacheTest.php +++ b/tests/lib/Files/Config/UserMountCacheTest.php @@ -337,7 +337,7 @@ class UserMountCacheTest extends TestCase { $sql = 'SELECT `fileid` FROM `*PREFIX*filecache` WHERE `storage` = ? AND `path_hash` =?'; $query = $this->connection->prepare($sql); $query->execute([$storageId, md5($internalPath)]); - return (int)$query->fetchColumn(); + return (int)$query->fetchOne(); } return $id; } |