simplethings/SimpleThingsFormSerializerBundle — pull request #21 by henrikbjorn (2012-07-24 18:40:14+00:00)
Title: Symfony2.0 compatibility

Changed a few things, mainly the tests to include CDATA. There is only one failure which i cant seem to get why is failing.

```
[Symfony2.0Compatibility][~/Code/SimpleThingsFormSerializerBundle] phpunit
PHPUnit 3.6.11 by Sebastian Bergmann.

Configuration read from /Users/Henrik/Code/SimpleThingsFormSerializerBundle/phpunit.xml.dist

...F.....

Time: 0 seconds, Memory: 10.50Mb

There was 1 failure:

1) SimpleThings\FormSerializerBundle\Tests\Serializer\FormSerializerTest::testFunctional
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
DE
-

Somestreet 1

+

'

/Users/Henrik/Code/SimpleThingsFormSerializerBundle/Tests/Serializer/FormSerializerTest.php:98
/usr/local/php5-20120720-140003/bin/phpunit:46

FAILURES!
Tests: 9, Assertions: 11, Failures: 1.
```

The weird part is that it work if testFunctional just uses the AddressType, so it must be something about adding via the FormBuilder.