Skip to content

Commit

Permalink
Merge pull request #608 from veewee/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
veewee authored Mar 7, 2019
2 parents 8d090d6 + 71ac700 commit 878219f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/Event/Subscriber/ProgressSubscriberSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function it_should_advance_progress(OutputInterface $output, TaskEvent $event, T

$event->getTask()->willReturn($task);

$output->writeln('')->shouldBeCalled();
$output->writeln('')->willReturn(null);
$output->write(Argument::containingString('Running task'))->shouldBeCalled();
$output->write(Argument::containingString('1/2'))->shouldBeCalled();

Expand All @@ -77,7 +77,7 @@ function it_finishes_progress(OutputInterface $output, RunnerEvent $event)
function it_finishes_progress_early(OutputInterface $output, RunnerEvent $event)
{
$this->beConstructedWith($output, $progress = new ProgressBar($output->getWrappedObject(), 2));
$output->write('<fg=red>Aborted ...</fg=red>')->shouldBeCalled();
$output->write(Argument::containingString('<fg=red>Aborted ...</fg=red>'))->shouldBeCalled();
$output->writeln('')->shouldBeCalled();

$this->finishProgress($event);
Expand Down

0 comments on commit 878219f

Please sign in to comment.