Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-03-06 00:34:46 +0300
committerLukas Reschke <lukas@owncloud.com>2015-03-06 00:36:17 +0300
commit6d5e60bd9b801b2fe8dde2c947aa31b1d2b6ae87 (patch)
treedcaf719cf7115eb4f1fb57efa189d505815990d5 /tests
parenta7fc0fc07b42dbd3d88cb73c1b0ab16910a1b828 (diff)
14719 without public API
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/allconfig.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/lib/allconfig.php b/tests/lib/allconfig.php
index 290e40e8d88..7f8ad5ec221 100644
--- a/tests/lib/allconfig.php
+++ b/tests/lib/allconfig.php
@@ -26,33 +26,6 @@ class TestAllConfig extends \Test\TestCase {
return new \OC\AllConfig($systemConfig, $connection);
}
- // FIXME: Actually an integration test... – Shouldn't be in the unit test at all.
- public function testGetAppsForKeyValue() {
- $config = $this->getConfig();
-
- // preparation - add something to the database
- $data = [
- ['myFirstApp', 'key1', 'value1'],
- ['mySecondApp', 'key1', 'value2'],
- ['mySecondApp', 'key3', 'value2'],
- ['myThirdApp', 'key3', 'value3'],
- ['myThirdApp', 'key3', 'value2'],
- ];
- foreach ($data as $entry) {
- $config->setAppValue($entry[0], $entry[1], $entry[2]);
- }
-
- $this->assertEquals(['mySecondApp'], $config->getAppsForKeyValue('key1', 'value2'));
- $this->assertEquals(['mySecondApp', 'myThirdApp'], $config->getAppsForKeyValue('key3', 'value2'));
- $this->assertEquals([], $config->getAppsForKeyValue('NotExisting', 'NotExistingValue'));
-
- // cleanup
- foreach ($data as $entry) {
- $config->deleteAppValue($entry[0], $entry[1]);
-
- }
- }
-
public function testDeleteUserValue() {
$config = $this->getConfig();