Re: [PHP] Problem with AssertTag: children count wrong

2012-05-02 Thread Michael Otteneder
perfectly well. The only problem I have is when I use the 'children' option with assertTag, because the count never hast the value it should have. kind regards, Michael On Wed, May 2, 2012 at 9:22 PM, Jim Lucas wrote: > On 05/02/2012 10:55 AM, Michael Otteneder wrote: > >>

[PHP] Problem with AssertTag: children count wrong

2012-05-02 Thread Michael Otteneder
Hi List! I'm trying to use phpUnit's AssertTag function to make sure that some html code contains an ul element with exactly li items in it. My test looks like this: function testUnconfiguredFilter() { $matcher = array( 'tag' => 'ul', 'children' => array( 'count' => 3, 'only' => array('tag' =>