summaryrefslogtreecommitdiffstats
path: root/apps/federation/tests
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-08-08 14:56:24 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-08-09 10:24:45 +0200
commit50044fb79265f8c7cb3e204498d0097c62274f3e (patch)
tree08028787969ffe201ec5baf71c1d387a3364ac1e /apps/federation/tests
parente4436e46cb38675fc14b608af094e4e3b5fa7c19 (diff)
downloadnextcloud-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.php3
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));
}
/**