summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-14 15:07:33 +0100
committerGitHub <noreply@github.com>2017-11-14 15:07:33 +0100
commit16549ae5fbc2165ab6cf0a1004f80cd142993d48 (patch)
treee9d74085ac0e05e9bea6278339fe2c1f67ae8830 /tests
parent6d1d2dde0b56b8cc16855599628493bd5cfc9c4d (diff)
parentf6ef3b646457c1194e3550fdf2cd14a839ee273a (diff)
downloadnextcloud-server-16549ae5fbc2165ab6cf0a1004f80cd142993d48.tar.gz
nextcloud-server-16549ae5fbc2165ab6cf0a1004f80cd142993d48.zip
Merge pull request #7166 from nextcloud/enhancement/crash-report-context
Pass the exception context to the crash reporter
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/LoggerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/LoggerTest.php b/tests/lib/LoggerTest.php
index 76f33849deb..54336da105c 100644
--- a/tests/lib/LoggerTest.php
+++ b/tests/lib/LoggerTest.php
@@ -90,7 +90,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e);
+ ->with($e, []);
$this->logger->logException($e);
@@ -109,7 +109,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e);
+ ->with($e, []);
$this->logger->logException($e);
@@ -128,7 +128,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e);
+ ->with($e, []);
$this->logger->logException($e);
@@ -147,7 +147,7 @@ class LoggerTest extends TestCase {
$e = new \Exception('test');
$this->registry->expects($this->once())
->method('delegateReport')
- ->with($e);
+ ->with($e, []);
$this->logger->logException($e);