diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-17 12:51:54 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-17 18:08:45 +0100 |
commit | 7df5c5db2d3236be3683949ed1b45eb968f70a98 (patch) | |
tree | 89b3a2d2bfe92b184a79141205aab0db8e93d0ab /apps/federation/tests | |
parent | de983e61e3660964154d1c7f447ca8a2055cc2d6 (diff) | |
download | nextcloud-server-7df5c5db2d3236be3683949ed1b45eb968f70a98.tar.gz nextcloud-server-7df5c5db2d3236be3683949ed1b45eb968f70a98.zip |
don't add server automatically to trusted server
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federation/tests')
-rw-r--r-- | apps/federation/tests/TrustedServersTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/tests/TrustedServersTest.php b/apps/federation/tests/TrustedServersTest.php index d16c0908dd4..598c2f01c90 100644 --- a/apps/federation/tests/TrustedServersTest.php +++ b/apps/federation/tests/TrustedServersTest.php @@ -172,7 +172,7 @@ class TrustedServersTest extends TestCase { */ public function testGetAutoAddServers($status, $expected) { $this->config->expects($this->once())->method('getAppValue') - ->with('federation', 'autoAddServers', '1')->willReturn($status); + ->with('federation', 'autoAddServers', '0')->willReturn($status); $this->assertSame($expected, $this->trustedServers->getAutoAddServers() |