浏览代码

[Form] Remove a test which is no more relevant (after recent FileType refactoring)

Victor Berchet 14 年之前
父节点
当前提交
ee5d975783
共有 1 个文件被更改,包括 0 次插入16 次删除
  1. 0 16
      tests/Symfony/Tests/Component/Form/AbstractDivLayoutTest.php

+ 0 - 16
tests/Symfony/Tests/Component/Form/AbstractDivLayoutTest.php

@@ -409,20 +409,4 @@ abstract class AbstractDivLayoutTest extends AbstractLayoutTest
 '
         );
     }
-
-    public function testFileLabelAccessibility()
-    {
-        $form = $this->factory->createNamed('file', 'name');
-        $html = $this->renderRow($form->createView());
-
-        $this->assertMatchesXpath($html,
-'/div
-    [
-        ./label[@for="name"]
-        /following-sibling::input[@id="name"][@type="file"]
-    ]
-'
-        );
-    }
-
 }