phpcr/phpcr-api-tests — pull request #55 by chregu (2012-03-05 19:50:27+00:00)
Title: Wrong property type test

This PR fixes 2 tests

A wrong property type can be auto-converted by the CR or return a ValueFormatException, if it can't be autoconverted. See JSR-287 3.6.4 Property Type Conversion. So the test in testAddPropertyWrongType was only half right. We check now also for PHPCR\ValueFormatException exception, if the CR can't auto-convert the property (from eg. bool to date)

The other fix just removes the incomplete() marker for testAddMixinTwice since that works now with the JSOP support in jackalope-jackrabbit