[Console] Fix transient HHVM test

This commit is contained in:
Nicolas Grekas 2015-09-25 10:32:23 +02:00
parent 507e959e37
commit 945ec0e40c

View File

@ -14,9 +14,20 @@ namespace Symfony\Component\Console\Tests\Helper;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Helper\Helper;
use Symfony\Component\Console\Output\StreamOutput;
use Symfony\Component\Console\Tests;
class ProgressBarTest extends \PHPUnit_Framework_TestCase
{
protected function setUp()
{
Tests\with_clock_mock(true);
}
protected function tearDown()
{
Tests\with_clock_mock(false);
}
public function testMultipleStart()
{
$bar = new ProgressBar($output = $this->getOutputStream());