that variable is required to suppress output when unit testing, also travis has composer preinstalled
This commit is contained in:
parent
0730d6b8d2
commit
36c1b17777
2 changed files with 2 additions and 3 deletions
|
@ -7,8 +7,7 @@ php:
|
||||||
- hhvm
|
- hhvm
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- curl -s http://getcomposer.org/installer | php
|
- composer install -n
|
||||||
- php composer.phar install -n
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd tst && ../vendor/bin/phpunit
|
- cd tst && ../vendor/bin/phpunit
|
||||||
|
|
|
@ -145,7 +145,7 @@ class zerobinTest extends PHPUnit_Framework_TestCase
|
||||||
file_put_contents(CONF, '');
|
file_put_contents(CONF, '');
|
||||||
ob_start();
|
ob_start();
|
||||||
new zerobin;
|
new zerobin;
|
||||||
ob_get_contents();
|
$content = ob_get_contents();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue