diff options
-rw-r--r-- | lib/private/cache/file.php | 5 | ||||
-rw-r--r-- | tests/lib/server.php | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/cache/file.php b/lib/private/cache/file.php index c033e53e6f7..32c00125764 100644 --- a/lib/private/cache/file.php +++ b/lib/private/cache/file.php @@ -25,9 +25,12 @@ namespace OC\Cache; use OC\Files\Filesystem; use OC\Files\View; +use OCP\ICache; use OCP\Security\ISecureRandom; -class File { +class File implements ICache { + + /** @var View */ protected $storage; /** diff --git a/tests/lib/server.php b/tests/lib/server.php index f2971fea25d..cf0ad8265bf 100644 --- a/tests/lib/server.php +++ b/tests/lib/server.php @@ -99,6 +99,7 @@ class Server extends \Test\TestCase { ['NavigationManager', '\OC\NavigationManager'], ['NavigationManager', '\OCP\INavigationManager'], ['UserCache', '\OC\Cache\File'], + ['UserCache', '\OCP\ICache'], ['OcsClient', '\OC\OCSClient'], |