From 4b7c3b9cb2bc71ba47a938e3ac29fd06a966afd1 Mon Sep 17 00:00:00 2001 From: bronze1man Date: Sat, 27 Jul 2013 12:44:48 +0800 Subject: [PATCH] [template] fixed test failure introduted from #8585 --- .../Resources/views/Form/form_start.html.php | 2 +- src/Symfony/Component/Form/Tests/AbstractLayoutTest.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_start.html.php b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_start.html.php index 9c3af35ffb9a..98fc0da732fb 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_start.html.php +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/form_start.html.php @@ -1,6 +1,6 @@ -
$v) { printf(' %s="%s"', $view->escape($k), $view->escape($v)); } ?> enctype="multipart/form-data"> + $v) { printf(' %s="%s"', $view->escape($k), $view->escape($v)); } ?> enctype="multipart/form-data"> diff --git a/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php b/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php index 8f632a2b5041..9bfdd7dcf61c 100644 --- a/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php +++ b/src/Symfony/Component/Form/Tests/AbstractLayoutTest.php @@ -1811,7 +1811,7 @@ public function testStartTag() $html = $this->renderStart($form->createView()); - $this->assertSame('', $html); + $this->assertSame('', $html); } public function testStartTagForPutRequest() @@ -1843,7 +1843,7 @@ public function testStartTagWithOverriddenVars() 'action' => 'http://foo.com/directory' )); - $this->assertSame('', $html); + $this->assertSame('', $html); } public function testStartTagForMultipartForm() @@ -1857,7 +1857,7 @@ public function testStartTagForMultipartForm() $html = $this->renderStart($form->createView()); - $this->assertSame('', $html); + $this->assertSame('', $html); } public function testStartTagWithExtraAttributes() @@ -1871,6 +1871,6 @@ public function testStartTagWithExtraAttributes() 'attr' => array('class' => 'foobar'), )); - $this->assertSame('', $html); + $this->assertSame('', $html); } }