Skip to content

Commit d0598be

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Mime] Relaxing in-reply-to header validation [WebProfilerBundle] fix Email HTML preview fix test to actually use data provider
2 parents 6d04918 + 2e6b8b2 commit d0598be

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

Tests/DependencyInjection/Fixtures/php/cache_app_redis_tag_aware_pool.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
$container->loadFromExtension('framework', [
44
'cache' => [
5-
'app' => 'cache.redis_tag_aware.bar',
5+
'app' => 'cache.redis_tag_aware.foo',
66
'pools' => [
77
'cache.redis_tag_aware.foo' => [
88
'adapter' => 'cache.adapter.redis_tag_aware',
99
],
10-
'cache.redis_tag_aware.bar' => [
11-
'adapter' => 'cache.redis_tag_aware.foo',
12-
],
1310
],
1411
],
1512
]);

Tests/DependencyInjection/Fixtures/xml/cache_app_redis_tag_aware_pool.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77

88
<framework:config>
99
<framework:cache>
10-
<framework:app>cache.redis_tag_aware.bar</framework:app>
10+
<framework:app>cache.redis_tag_aware.foo</framework:app>
1111
<framework:pool name="cache.redis_tag_aware.foo" adapter="cache.adapter.redis_tag_aware" />
12-
<framework:pool name="cache.redis_tag_aware.bar" adapter="cache.redis_tag_aware.foo" />
1312
</framework:cache>
1413
</framework:config>
1514
</container>
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
framework:
22
cache:
3-
app: cache.redis_tag_aware.bar
3+
app: cache.redis_tag_aware.foo
44
pools:
55
cache.redis_tag_aware.foo:
66
adapter: cache.adapter.redis_tag_aware
7-
cache.redis_tag_aware.bar:
8-
adapter: cache.redis_tag_aware.foo

Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,11 +1589,11 @@ public function testRedisTagAwareAdapter()
15891589
}
15901590

15911591
/**
1592-
* @dataProvider testAppRedisTagAwareConfigProvider
1592+
* @dataProvider appRedisTagAwareConfigProvider
15931593
*/
1594-
public function testAppRedisTagAwareAdapter()
1594+
public function testAppRedisTagAwareAdapter(string $configFile)
15951595
{
1596-
$container = $this->createContainerFromFile('cache_app_redis_tag_aware');
1596+
$container = $this->createContainerFromFile($configFile);
15971597

15981598
foreach ([TagAwareCacheInterface::class, CacheInterface::class, CacheItemPoolInterface::class] as $alias) {
15991599
$def = $container->findDefinition($alias);
@@ -1606,7 +1606,7 @@ public function testAppRedisTagAwareAdapter()
16061606
}
16071607
}
16081608

1609-
public function testAppRedisTagAwareConfigProvider(): array
1609+
public function appRedisTagAwareConfigProvider(): array
16101610
{
16111611
return [
16121612
['cache_app_redis_tag_aware'],

0 commit comments

Comments
 (0)