diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-08-08 14:56:24 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-08-09 10:24:45 +0200 |
commit | 50044fb79265f8c7cb3e204498d0097c62274f3e (patch) | |
tree | 08028787969ffe201ec5baf71c1d387a3364ac1e /apps/federation/tests | |
parent | e4436e46cb38675fc14b608af094e4e3b5fa7c19 (diff) | |
download | nextcloud-server-50044fb79265f8c7cb3e204498d0097c62274f3e.tar.gz nextcloud-server-50044fb79265f8c7cb3e204498d0097c62274f3e.zip |
improve federation error messages
Diffstat (limited to 'apps/federation/tests')
-rw-r--r-- | apps/federation/tests/TrustedServersTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/federation/tests/TrustedServersTest.php b/apps/federation/tests/TrustedServersTest.php index 63086c76002..1bf1475aef2 100644 --- a/apps/federation/tests/TrustedServersTest.php +++ b/apps/federation/tests/TrustedServersTest.php @@ -309,7 +309,6 @@ class TrustedServersTest extends TestCase { } /** - * @expectedException \Exception * @expectedExceptionMessage simulated exception */ public function testIsOwnCloudServerFail() { @@ -323,7 +322,7 @@ class TrustedServersTest extends TestCase { throw new \Exception('simulated exception'); }); - $this->trustedServers->isOwnCloudServer($server); + $this->assertFalse($this->trustedServers->isOwnCloudServer($server)); } /** |