diff --git a/.travis.yml b/.travis.yml index b96b1da2..9ed482a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,7 @@ php: - hhvm before_script: - - curl -s http://getcomposer.org/installer | php - - php composer.phar install -n + - composer install -n script: - cd tst && ../vendor/bin/phpunit diff --git a/tst/zerobin.php b/tst/zerobin.php index 01f49f20..8b865fd8 100644 --- a/tst/zerobin.php +++ b/tst/zerobin.php @@ -145,7 +145,7 @@ class zerobinTest extends PHPUnit_Framework_TestCase file_put_contents(CONF, ''); ob_start(); new zerobin; - ob_get_contents(); + $content = ob_get_contents(); } /**