File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,13 @@ public function testValidationPaths()
362
362
363
363
$ xmlMappings = $ calls [3 ][1 ][0 ];
364
364
$ this ->assertCount (2 , $ xmlMappings );
365
- $ this ->assertStringEndsWith ('Component ' .DIRECTORY_SEPARATOR .'Form/Resources/config/validation.xml ' , $ xmlMappings [0 ]);
365
+ try {
366
+ // Testing symfony/symfony
367
+ $ this ->assertStringEndsWith ('Component ' .DIRECTORY_SEPARATOR .'Form/Resources/config/validation.xml ' , $ xmlMappings [0 ]);
368
+ } catch (\Exception $ e ) {
369
+ // Testing symfony/framework-bundle with deps=high
370
+ $ this ->assertStringEndsWith ('symfony ' .DIRECTORY_SEPARATOR .'form/Resources/config/validation.xml ' , $ xmlMappings [0 ]);
371
+ }
366
372
$ this ->assertStringEndsWith ('TestBundle ' .DIRECTORY_SEPARATOR .'Resources ' .DIRECTORY_SEPARATOR .'config ' .DIRECTORY_SEPARATOR .'validation.xml ' , $ xmlMappings [1 ]);
367
373
368
374
$ yamlMappings = $ calls [4 ][1 ][0 ];
You can’t perform that action at this time.
0 commit comments