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
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-23 15:34:55 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-06-23 15:34:55 +0300
commit8750d5b80225d3a7e341db8594b0f54db2f7b5eb (patch)
tree73cd0cec245f1bb8bea54c83d79db5172d50d181 /tests/lib/Settings/ManagerTest.php
parent39ca06e6b9bfc85efc6c2f15090b0719b1e4f0ef (diff)
take out additional (legacy) settings section from tests
because it is dependent whether anything else registers into it and \OC_App is static Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests/lib/Settings/ManagerTest.php')
-rw-r--r--tests/lib/Settings/ManagerTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/lib/Settings/ManagerTest.php b/tests/lib/Settings/ManagerTest.php
index 83dbbe5c2aa..0c66bf19e8a 100644
--- a/tests/lib/Settings/ManagerTest.php
+++ b/tests/lib/Settings/ManagerTest.php
@@ -232,12 +232,11 @@ class ManagerTest extends TestCase {
['core', 'actions/settings-dark.svg', '4'],
]);
- $this->assertEquals([
+ $this->assertArraySubset([
0 => [new Section('personal-info', 'Personal info', 0, '1')],
5 => [new Section('security', 'Security', 0, '2')],
15 => [new Section('sync-clients', 'Sync clients', 0, '3')],
90 => [\OC::$server->query(\OCA\WorkflowEngine\Settings\Section::class)],
- 98 => [new Section('additional', 'Additional settings', 0, '4')],
], $this->manager->getPersonalSections());
}