diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/cache/cappedmemorycache.php | 2 | ||||
-rw-r--r-- | tests/lib/cache/filecache.php (renamed from tests/lib/cache/file.php) | 2 | ||||
-rw-r--r-- | tests/lib/cache/testcache.php (renamed from tests/lib/cache.php) | 4 | ||||
-rw-r--r-- | tests/lib/memcache/cache.php | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/tests/lib/cache/cappedmemorycache.php b/tests/lib/cache/cappedmemorycache.php index a8fb273b80a..c9c74de72db 100644 --- a/tests/lib/cache/cappedmemorycache.php +++ b/tests/lib/cache/cappedmemorycache.php @@ -29,7 +29,7 @@ namespace Test\Cache; * * @package Test\Cache */ -class CappedMemoryCache extends \Test_Cache { +class CappedMemoryCache extends TestCache { public function setUp() { parent::setUp(); $this->instance = new \OC\Cache\CappedMemoryCache(); diff --git a/tests/lib/cache/file.php b/tests/lib/cache/filecache.php index 92b784bf8ea..a85b12671f3 100644 --- a/tests/lib/cache/file.php +++ b/tests/lib/cache/filecache.php @@ -29,7 +29,7 @@ namespace Test\Cache; * * @package Test\Cache */ -class FileCache extends \Test_Cache { +class FileCache extends TestCache { /** * @var string * */ diff --git a/tests/lib/cache.php b/tests/lib/cache/testcache.php index a91f37467d2..75ff65207ee 100644 --- a/tests/lib/cache.php +++ b/tests/lib/cache/testcache.php @@ -6,7 +6,9 @@ * See the COPYING-README file. */ -abstract class Test_Cache extends \Test\TestCase { +namespace Test\Cache; + +abstract class TestCache extends \Test\TestCase { /** * @var \OCP\ICache cache; */ diff --git a/tests/lib/memcache/cache.php b/tests/lib/memcache/cache.php index 725b0fbbf57..8d6a231dd8d 100644 --- a/tests/lib/memcache/cache.php +++ b/tests/lib/memcache/cache.php @@ -9,7 +9,7 @@ namespace Test\Memcache; -abstract class Cache extends \Test_Cache { +abstract class Cache extends \Test\Cache\TestCache { /** * @var \OCP\IMemcache cache; */ |