blob: afecb37e065303fac830baeffd30f386d95e3eed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
From 7696c95b17a7391fc6a1d48ff9d46512dd5e9d46 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Fri, 1 Jul 2016 08:55:04 +0200
Subject: [PATCH] skip test with current phpunit bridge
---
.../Component/DependencyInjection/Tests/ContainerBuilderTest.php | 3 +++
src/Symfony/Component/Yaml/Tests/ParserTest.php | 1 +
2 files changed, 4 insertions(+)
diff --git a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
index f9f6aab..ac66d48 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
@@ -60,6 +60,9 @@ public function testDefinitions()
}
}
+ /**
+ * @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 () {
diff --git a/src/Symfony/Component/Yaml/Tests/ParserTest.php b/src/Symfony/Component/Yaml/Tests/ParserTest.php
index 7b36819..9e9a715 100644
--- a/src/Symfony/Component/Yaml/Tests/ParserTest.php
+++ b/src/Symfony/Component/Yaml/Tests/ParserTest.php
@@ -928,6 +928,7 @@ public function testFloatKeys()
/**
* @group legacy
* throw ParseException in Symfony 3.0
+ * @requires function Symfony\Bridge\PhpUnit\ErrorAssert::assertDeprecationsAreTriggered
*/
public function testColonInMappingValueException()
{
|