1
0
mirror of https://github.com/danog/process.git synced 2024-11-30 04:39:04 +01:00

Upgrade to PHPUnit 6

This commit is contained in:
Aaron Piotrowski 2017-06-15 22:53:33 -05:00
parent 6ef9d34179
commit cc85c607b9
3 changed files with 7 additions and 5 deletions

View File

@ -7,7 +7,8 @@
"amphp/byte-stream": "^1"
},
"require-dev": {
"phpunit/phpunit": "^5.0",
"phpunit/phpunit": "^6",
"amphp/phpunit-util": "^1",
"friendsofphp/php-cs-fixer": "^2.3",
"kelunik/fqn-check": "^0.1.3"
},

View File

@ -22,7 +22,7 @@
<directory suffix=".php">lib</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="build/coverage" title="Amp" highlight="true"/>
</logging>
<listeners>
<listener class="Amp\PHPUnit\LoopReset"/>
</listeners>
</phpunit>

View File

@ -4,8 +4,9 @@ namespace Amp\Test\Process;
use Amp\Loop;
use Amp\Process\Process;
use PHPUnit\Framework\TestCase;
class ProcessTest extends \PHPUnit_Framework_TestCase {
class ProcessTest extends TestCase {
const CMD_PROCESS = 'echo foo';
/**