From 1029abc8f6e6935680303ffdb57c9c6fb11c4039 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 27 Apr 2021 08:13:47 +0200 Subject: More cleaning after auto-add removal Signed-off-by: Joas Schilling --- apps/federation/tests/Settings/AdminTest.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/federation/tests/Settings') 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()); -- cgit v1.2.3