minor #19255 skip test with current phpunit bridge (remicollet)

This PR was merged into the 2.8 branch.

Discussion
----------

skip test with current phpunit bridge

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

AS for DnsMock in some other tests, (e.g. see efc1de7786)

Commits
-------

7696c95 skip test with current phpunit bridge
This commit is contained in:
Fabien Potencier 2016-07-01 09:57:37 +02:00
commit 70cee967ab
2 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,9 @@ class ContainerBuilderTest extends \PHPUnit_Framework_TestCase
}
}
/**
* @requires function Symfony\Bridge\PhpUnit\ErrorAssert::assertDeprecationsAreTriggered
*/
public function testCreateDeprecatedService()
{
ErrorAssert::assertDeprecationsAreTriggered('The "deprecated_foo" service is deprecated. You should stop using it, as it will soon be removed.', function () {

View File

@ -928,6 +928,7 @@ EOF;
/**
* @group legacy
* throw ParseException in Symfony 3.0
* @requires function Symfony\Bridge\PhpUnit\ErrorAssert::assertDeprecationsAreTriggered
*/
public function testColonInMappingValueException()
{