Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #23 from juriansluiman/hotfix/failing-phpunit
Browse files Browse the repository at this point in the history
Fix phpunit failing test case with serialized content
  • Loading branch information
Jurian Sluiman committed Jan 22, 2014
2 parents 34581c3 + d14a1e2 commit 5ecd0d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function testCorrectlyCountJobs()
$routeMatch = new RouteMatch(array('queue' => 'newsletter'));
$controller->getEvent()->setRouteMatch($routeMatch);

$pheanstalkJob = new Pheanstalk_Job(4, '{"class":"SlmQueueBeanstalkdTest\\\Asset\\\SimpleJob"}');
$pheanstalkJob = new Pheanstalk_Job(4, '{"class":"SlmQueueBeanstalkdTest\\\Asset\\\SimpleJob","content":"s:3:\"Foo\";"}');

$this->pheanstalkMock->expects($this->once())
->method('reserveFromTube')
Expand Down

0 comments on commit 5ecd0d0

Please sign in to comment.