4teamwork / ftw.builder

Builder pattern for creating Plone objects in tests
3 stars 0 forks source link

Added reindex after workflow state changes. #11

Closed phgross closed 11 years ago

phgross commented 11 years ago

When creating a object with a PloneObjectBuilder and using the in_state method to put it into an other state than the default, the brain is still in the default workflow state (see testcase for more information). Therefore i append an reindexObject after changing the workflow state.

@jone could you take a look?

jone commented 11 years ago

:+1: