Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy Khomenko committed May 13, 2016
2 parents d71e32d + 0a3c45f commit 64cebdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ php:

install:
- composer self-update
- composer install --no-interaction
- composer install --no-interaction --prefer-dist

script:
- composer test
Expand Down
6 changes: 4 additions & 2 deletions tests/LazyInitHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ public function testBacktraceDataException ()

public function testDependencyKey ()
{
$this->setExpectedException( 'PHPUnit_Framework_Error' );
FailLazyInitHelper::createDependencyKey( '' );
if ( version_compare( PHP_VERSION, '5.6', '<=' ) ) {
$this->setExpectedException( 'PHPUnit_Framework_Error' );
FailLazyInitHelper::createDependencyKey( '' );
}
}

public function testInitClosure ()
Expand Down

0 comments on commit 64cebdc

Please sign in to comment.