mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
refactor: thanks
This commit is contained in:
@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Pest\Plugins\Thanks;
|
||||
use Symfony\Component\Console\Output\BufferedOutput;
|
||||
|
||||
it('outputs funding options when --thanks is used')->skip('The plugin uses `exit()` so not sure how to implement this');
|
||||
|
||||
it('does not output funding options when --thanks is not used', function () {
|
||||
$output = new BufferedOutput();
|
||||
$plugin = new Thanks($output);
|
||||
|
||||
$plugin->handleArguments(['foo', 'bar']);
|
||||
assertEquals('', $output->fetch());
|
||||
});
|
||||
Reference in New Issue
Block a user