minor #18200 use the clock mock for progress indicator tests (xabbuh)
This PR was merged into the 3.0 branch.
Discussion
----------
use the clock mock for progress indicator tests
| Q | A
| ------------- | ---
| Branch? | 3.0
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | https://github.com/symfony/symfony/issues/15617#issuecomment-196722189
| License | MIT
| Doc PR |
Commits
-------
dbde648
use the clock mock for progress indicator tests
This commit is contained in:
commit
e436c1e254
@ -52,7 +52,12 @@
|
||||
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
|
||||
<arguments>
|
||||
<array>
|
||||
<element key="time-sensitive"><string>Symfony\Component\HttpFoundation</string></element>
|
||||
<element key="time-sensitive">
|
||||
<array>
|
||||
<element><string>Symfony\Component\Console</string></element>
|
||||
<element><string>Symfony\Component\HttpFoundation</string></element>
|
||||
</array>
|
||||
</element>
|
||||
</array>
|
||||
</arguments>
|
||||
</listener>
|
||||
|
@ -5,6 +5,9 @@ namespace Symfony\Component\Console\Tests\Helper;
|
||||
use Symfony\Component\Console\Helper\ProgressIndicator;
|
||||
use Symfony\Component\Console\Output\StreamOutput;
|
||||
|
||||
/**
|
||||
* @group time-sensitive
|
||||
*/
|
||||
class ProgressIndicatorTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testDefaultIndicator()
|
||||
|
@ -26,4 +26,14 @@
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
<listeners>
|
||||
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
|
||||
<arguments>
|
||||
<array>
|
||||
<element key="time-sensitive"><string>Symfony\Component\Console</string></element>
|
||||
</array>
|
||||
</arguments>
|
||||
</listener>
|
||||
</listeners>
|
||||
</phpunit>
|
||||
|
Reference in New Issue
Block a user