File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Bundle/FrameworkBundle/Tests/DependencyInjection
Tests/DependencyInjection Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function testArgsAreReplaced()
87
87
88
88
$ this ->assertInstanceOf (Reference::class, $ cachePool ->getArgument (0 ));
89
89
$ this ->assertSame ('foobar ' , (string ) $ cachePool ->getArgument (0 ));
90
- $ this ->assertSame ('tQNhcV-8xa ' , $ cachePool ->getArgument (1 ));
90
+ $ this ->assertSame ('croSeNd5bG ' , $ cachePool ->getArgument (1 ));
91
91
$ this ->assertSame (3 , $ cachePool ->getArgument (2 ));
92
92
}
93
93
@@ -108,7 +108,7 @@ public function testWithNameAttribute()
108
108
109
109
$ this ->cachePoolPass ->process ($ container );
110
110
111
- $ this ->assertSame ('+naTpPa4Sm ' , $ cachePool ->getArgument (1 ));
111
+ $ this ->assertSame ('-Tv17ISg7e ' , $ cachePool ->getArgument (1 ));
112
112
}
113
113
114
114
public function testThrowsExceptionWhenCachePoolTagHasUnknownAttributes ()
Original file line number Diff line number Diff line change @@ -1457,11 +1457,11 @@ public function testCachePoolServices()
1457
1457
(new ChildDefinition ('cache.adapter.array ' ))
1458
1458
->replaceArgument (0 , 12 ),
1459
1459
(new ChildDefinition ('cache.adapter.filesystem ' ))
1460
- ->replaceArgument (0 , 'xctxZ1lyiH ' )
1460
+ ->replaceArgument (0 , 'kByObfHfz6 ' )
1461
1461
->replaceArgument (1 , 12 ),
1462
1462
(new ChildDefinition ('cache.adapter.redis ' ))
1463
1463
->replaceArgument (0 , new Reference ('.cache_connection.kYdiLgf ' ))
1464
- ->replaceArgument (1 , 'xctxZ1lyiH ' )
1464
+ ->replaceArgument (1 , 'kByObfHfz6 ' )
1465
1465
->replaceArgument (2 , 12 ),
1466
1466
],
1467
1467
12 ,
Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ public function process(ContainerBuilder $container)
52
52
$ seed = '. ' .$ container ->getParameterBag ()->resolveValue ($ container ->getParameter ('cache.prefix.seed ' ));
53
53
} else {
54
54
$ seed = '_ ' .$ container ->getParameter ('kernel.project_dir ' );
55
+ $ seed .= '. ' .$ container ->getParameter ('kernel.container_class ' );
55
56
}
56
- $ seed .= '. ' .$ container ->getParameter ('kernel.container_class ' );
57
57
58
58
$ allPools = [];
59
59
$ clearers = [];
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public function testArgsAreReplaced()
135
135
136
136
$ this ->assertInstanceOf (Reference::class, $ cachePool ->getArgument (0 ));
137
137
$ this ->assertSame ('foobar ' , (string ) $ cachePool ->getArgument (0 ));
138
- $ this ->assertSame ('tQNhcV-8xa ' , $ cachePool ->getArgument (1 ));
138
+ $ this ->assertSame ('croSeNd5bG ' , $ cachePool ->getArgument (1 ));
139
139
$ this ->assertSame (3 , $ cachePool ->getArgument (2 ));
140
140
}
141
141
@@ -156,7 +156,7 @@ public function testWithNameAttribute()
156
156
157
157
$ this ->cachePoolPass ->process ($ container );
158
158
159
- $ this ->assertSame ('+naTpPa4Sm ' , $ cachePool ->getArgument (1 ));
159
+ $ this ->assertSame ('-Tv17ISg7e ' , $ cachePool ->getArgument (1 ));
160
160
}
161
161
162
162
public function testThrowsExceptionWhenCachePoolTagHasUnknownAttributes ()
You can’t perform that action at this time.
0 commit comments