skip test with current phpunit bridge

This commit is contained in:
Remi Collet 2016-07-01 08:55:04 +02:00
parent c7d569a65e
commit 7696c95b17
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() public function testCreateDeprecatedService()
{ {
ErrorAssert::assertDeprecationsAreTriggered('The "deprecated_foo" service is deprecated. You should stop using it, as it will soon be removed.', function () { 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 * @group legacy
* throw ParseException in Symfony 3.0 * throw ParseException in Symfony 3.0
* @requires function Symfony\Bridge\PhpUnit\ErrorAssert::assertDeprecationsAreTriggered
*/ */
public function testColonInMappingValueException() public function testColonInMappingValueException()
{ {