bug #10535 [Form] Fixed tests after merging pattern deprecation (stefanosala)
This PR was merged into the 2.5-dev branch.
Discussion
----------
[Form] Fixed tests after merging pattern deprecation
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Tests were not run on #10001.
Here are some fixes.
Commits
-------
e2d8944
Fixed tests after merging pattern deprecation
This commit is contained in:
commit
3b95d09542
@ -1497,7 +1497,7 @@ abstract class AbstractLayoutTest extends \Symfony\Component\Form\Test\FormInteg
|
||||
$this->assertWidgetMatchesXpath($form->createView(), array(),
|
||||
'/textarea
|
||||
[@name="name"]
|
||||
[not(@pattern)]
|
||||
[@pattern="foo"]
|
||||
[.="foo&bar"]
|
||||
'
|
||||
);
|
||||
|
Reference in New Issue
Block a user