summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-14 09:49:40 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-20 11:06:18 +0100
commit67fb58b4ee60aac31e45fdfafb811a17a2171667 (patch)
tree63b2f1e9b9672eeb655b1905a14243471e7b43c3 /tests
parent821663e397e68e037812dd4991adb76104fcf091 (diff)
downloadnextcloud-server-67fb58b4ee60aac31e45fdfafb811a17a2171667.tar.gz
nextcloud-server-67fb58b4ee60aac31e45fdfafb811a17a2171667.zip
Improved error message for failing background job
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/backgroundjob/job.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/backgroundjob/job.php b/tests/lib/backgroundjob/job.php
index 912e0e13b57..f2a5ff894fe 100644
--- a/tests/lib/backgroundjob/job.php
+++ b/tests/lib/backgroundjob/job.php
@@ -28,7 +28,7 @@ class Job extends \Test\TestCase {
->getMock();
$logger->expects($this->once())
->method('error')
- ->with('Error while running background job: ');
+ ->with('Error while running background job (class: Test\BackgroundJob\TestJob, arguments: ): ');
$this->assertCount(1, $jobList->getAll());
$job->execute($jobList, $logger);