diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-06-23 14:34:55 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-06-23 14:34:55 +0200 |
commit | 8750d5b80225d3a7e341db8594b0f54db2f7b5eb (patch) | |
tree | 73cd0cec245f1bb8bea54c83d79db5172d50d181 | |
parent | 39ca06e6b9bfc85efc6c2f15090b0719b1e4f0ef (diff) | |
download | nextcloud-server-8750d5b80225d3a7e341db8594b0f54db2f7b5eb.tar.gz nextcloud-server-8750d5b80225d3a7e341db8594b0f54db2f7b5eb.zip |
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>
-rw-r--r-- | tests/lib/Settings/ManagerTest.php | 3 |
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()); } |