Browse Source

[Form] fixed xpath

Kris Wallsmith 14 years ago
parent
commit
d26c590021
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/Symfony/Tests/Component/Form/AbstractTableLayoutTest.php

+ 2 - 1
tests/Symfony/Tests/Component/Form/AbstractTableLayoutTest.php

@@ -153,8 +153,9 @@ abstract class AbstractTableLayoutTest extends AbstractLayoutTest
     [
         ./tr[./td/input[@type="text"][@value="a"]]
         /following-sibling::tr[./td/input[@type="text"][@value="b"]]
+        /following-sibling::tr[./td/input[@type="hidden"][@id="name__token"]]
     ]
-    [count(./tr[./td/input])=2]
+    [count(./tr[./td/input])=3]
 '
         );
     }