summaryrefslogtreecommitdiffstats
path: root/apps/federation/tests/Settings
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-27 08:13:47 +0200
committerJoas Schilling <coding@schilljs.com>2021-04-27 08:13:47 +0200
commit1029abc8f6e6935680303ffdb57c9c6fb11c4039 (patch)
treef3913b7b7ad6624804d523f32545ffd08dff76c4 /apps/federation/tests/Settings
parent3f0b7fd289bf6fd9a9200c63160d1133618b2583 (diff)
downloadnextcloud-server-1029abc8f6e6935680303ffdb57c9c6fb11c4039.tar.gz
nextcloud-server-1029abc8f6e6935680303ffdb57c9c6fb11c4039.zip
More cleaning after auto-add removal
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/federation/tests/Settings')
-rw-r--r--apps/federation/tests/Settings/AdminTest.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/federation/tests/Settings/AdminTest.php b/apps/federation/tests/Settings/AdminTest.php
index 75ccabb968f..9c60f732f96 100644
--- a/apps/federation/tests/Settings/AdminTest.php
+++ b/apps/federation/tests/Settings/AdminTest.php
@@ -48,14 +48,9 @@ class AdminTest extends TestCase {
->expects($this->once())
->method('getServers')
->willReturn(['myserver', 'secondserver']);
- $this->trustedServers
- ->expects($this->once())
- ->method('getAutoAddServers')
- ->willReturn(['autoserver1', 'autoserver2']);
$params = [
'trustedServers' => ['myserver', 'secondserver'],
- 'autoAddServers' => ['autoserver1', 'autoserver2'],
];
$expected = new TemplateResponse('federation', 'settings-admin', $params, '');
$this->assertEquals($expected, $this->admin->getForm());