From f6c4b10189c6d76d94b0b01a440a326e6346c301 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Fri, 15 Jan 2016 13:13:27 +0100 Subject: Add message key to context of logException --- tests/lib/backgroundjob/job.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests') diff --git a/tests/lib/backgroundjob/job.php b/tests/lib/backgroundjob/job.php index 75b4865819a..12413e2c52a 100644 --- a/tests/lib/backgroundjob/job.php +++ b/tests/lib/backgroundjob/job.php @@ -27,9 +27,6 @@ class Job extends \Test\TestCase { $logger = $this->getMockBuilder('OCP\ILogger') ->disableOriginalConstructor() ->getMock(); - $logger->expects($this->once()) - ->method('error') - ->with('Error while running background job (class: Test\BackgroundJob\TestJob, arguments: )'); $logger->expects($this->once()) ->method('logException') ->with($e); -- cgit v1.2.3