From f078554c2a8696306126ed3cfe561d4bd9133572 Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Mon, 18 Apr 2011 14:27:18 +0200 Subject: [PATCH] [Form] Removed StripTagsListenerTest --- .../EventListener/StripTagsListenerTest.php | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 tests/Symfony/Tests/Component/Form/EventListener/StripTagsListenerTest.php diff --git a/tests/Symfony/Tests/Component/Form/EventListener/StripTagsListenerTest.php b/tests/Symfony/Tests/Component/Form/EventListener/StripTagsListenerTest.php deleted file mode 100644 index 05c77deb03..0000000000 --- a/tests/Symfony/Tests/Component/Form/EventListener/StripTagsListenerTest.php +++ /dev/null @@ -1,30 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Tests\Component\Form\EventListener; - -use Symfony\Component\Form\Event\FilterDataEvent; -use Symfony\Component\Form\EventListener\StripTagsListener; - -class StripTagsListenerTest extends \PHPUnit_Framework_TestCase -{ - public function testStripTags() - { - $data = "
Foo!Bar!Baz!"; - $form = $this->getMock('Symfony\Tests\Component\Form\FormInterface'); - $event = new FilterDataEvent($form, $data); - - $filter = new StripTagsListener(); - $filter->onBindClientData($event); - - $this->assertEquals('Foo!Bar!Baz!', $event->getData()); - } -} \ No newline at end of file