Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #222 from symfony-cmf/hhvm
Browse files Browse the repository at this point in the history
fix test code for HHVM
  • Loading branch information
lsmith77 committed Nov 21, 2014
2 parents e79b9da + 7708238 commit aa78e0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ env:
- SYMFONY_VERSION=2.5.*

matrix:
allow_failures:
- php: hhvm
include:
- php: 5.5
env: SYMFONY_VERSION=2.3.*
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Templating/Helper/CmfBlockHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function testLogsIfSonataThrowsException()
->method('warn')
->with($this->matchesRegularExpression('/^Failed to render block "foo" embedded in content: /'));

$exception = $this->getMock('Sonata\BlockBundle\Exception\BlockNotFoundException');
$exception = $this->getMock('Sonata\BlockBundle\Exception\BlockNotFoundException', array('getMessage'));

$this->getSonataBlock()->expects($this->once())
->method('render')
Expand Down

0 comments on commit aa78e0d

Please sign in to comment.