You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to get the tests running and I ran into some troubles with the AccessorOrder.
It looks like the Doctrine AnnotationReader is trying to create an AccessorOrder object, but the constructor is not there and thus not creating a valid AccessorOrder object. However, if I add a constructor to AccessorOrder, the tests fail because sorting is broken.
I haven't looked into this much further from that point on.
PHPUnit Output
PHPUnit 3.6.10 by Sebastian Bergmann.
Configuration read from /Users/mammann/Work/Astral/Web/Astral/vendor/bundles/JMS/SerializerBundle/phpunit.xml
I tried to get the tests running and I ran into some troubles with the AccessorOrder.
It looks like the Doctrine AnnotationReader is trying to create an AccessorOrder object, but the constructor is not there and thus not creating a valid AccessorOrder object. However, if I add a constructor to AccessorOrder, the tests fail because sorting is broken.
I haven't looked into this much further from that point on.
PHPUnit Output
PHPUnit 3.6.10 by Sebastian Bergmann.
Configuration read from /Users/mammann/Work/Astral/Web/Astral/vendor/bundles/JMS/SerializerBundle/phpunit.xml
..................................E...........E................ 63 / 121 ( 52%)
.......E...........E.SSSS....................E.......E..
Time: 1 second, Memory: 19.50Mb
There were 6 errors:
JMS\SerializerBundle\Tests\Serializer\JsonSerializationTest::testInline
InvalidArgumentException: The accessor order "" is invalid.
JMS\SerializerBundle\Tests\Serializer\JsonSerializationTest::testAccessorOrder
InvalidArgumentException: The accessor order "" is invalid.
JMS\SerializerBundle\Tests\Serializer\XmlSerializationTest::testInline
InvalidArgumentException: The accessor order "" is invalid.
JMS\SerializerBundle\Tests\Serializer\XmlSerializationTest::testAccessorOrder
InvalidArgumentException: The accessor order "" is invalid.
JMS\SerializerBundle\Tests\Serializer\YamlSerializationTest::testInline
InvalidArgumentException: The accessor order "" is invalid.
JMS\SerializerBundle\Tests\Serializer\YamlSerializationTest::testAccessorOrder
InvalidArgumentException: The accessor order "" is invalid.
FAILURES!
Tests: 119, Assertions: 400, Errors: 6, Skipped: 4.
The text was updated successfully, but these errors were encountered: