Skip to content

Commit

Permalink
Merge pull request #274 from stof/hhvm_tests
Browse files Browse the repository at this point in the history
Refactored a spec to make it pass on HHVM
  • Loading branch information
stof committed Jan 24, 2014
2 parents 59d1e20 + afc1905 commit 12e8105
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ language: php

php: [5.3.3, 5.3, 5.4, 5.5, hhvm]

matrix:
allow_failures:
- php: hhvm

before_script:
- composer install --prefer-source

Expand Down
2 changes: 1 addition & 1 deletion spec/PhpSpec/Wrapper/Subject/CallerSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function it_delegates_throwing_method_not_visible_exception(WrappedObject $wrapp

function it_delegates_throwing_property_not_found_exception(WrappedObject $wrappedObject, ExceptionFactory $exceptions)
{
$obj = new \ArrayObject;
$obj = new ExampleClass;

$wrappedObject->isInstantiated()->willReturn(true);
$wrappedObject->getInstance()->willReturn($obj);
Expand Down

0 comments on commit 12e8105

Please sign in to comment.