diff options
author | Joas Schilling <coding@schilljs.com> | 2017-01-05 15:25:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-05 15:25:48 +0100 |
commit | 64097aece923e03b59aa7bb45b0f2995321346bc (patch) | |
tree | 090f21ab078465e1ca3b0c6f82d21832a6943b41 /tests | |
parent | ba7f5105f014de8dfa80bdd178e325ffbfc7c0b5 (diff) | |
parent | 57c65c3ec62982326a02322fea0322313e7908d0 (diff) | |
download | nextcloud-server-64097aece923e03b59aa7bb45b0f2995321346bc.tar.gz nextcloud-server-64097aece923e03b59aa7bb45b0f2995321346bc.zip |
Merge pull request #2946 from nextcloud/kill-apc
Kill APC because it requires PHP 5.4 or lower
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Memcache/APCTest.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/lib/Memcache/APCTest.php b/tests/lib/Memcache/APCTest.php deleted file mode 100644 index 4bd7e62b94a..00000000000 --- a/tests/lib/Memcache/APCTest.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php - -/** - * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> - * This file is licensed under the Affero General Public License version 3 or - * later. - * See the COPYING-README file. - */ - -namespace Test\Memcache; - -class APCTest extends Cache { - protected function setUp() { - parent::setUp(); - - if(!\OC\Memcache\APC::isAvailable()) { - $this->markTestSkipped('The apc extension is not available.'); - return; - } - if(\OC\Memcache\APCu::isAvailable()) { - $this->markTestSkipped('The apc extension is emulated by ACPu.'); - return; - } - $this->instance=new \OC\Memcache\APC($this->getUniqueID()); - } -} |