summaryrefslogtreecommitdiffstats
path: root/tests/lib/allconfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/allconfig.php')
-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();