[Flow] Functional test child objects show in Descending order

Rocky Ou rocky at o-r-q.info
Thu Nov 28 05:47:51 CET 2013


On 11/21/2013 06:07 PM, Rocky Ou wrote:
> Hi,
>
> The Blog entity has Post entity as its child. The Blog is the Aggregate
> root for Post. Post has property date which is Datetime type. It is used
> for Descending ordering. Manually testing using Chrome renders the Post
> in Desc order. But $response->getContent() in the Funcitonal testing
> shows the Post in Ascending order.
>
> How can I test "Showing Objects in Descending order" in functional
> testing please?

Okay. If the ordering thing is important, use codeCept for acceptance 
testing.


More information about the Flow mailing list