Hi, sorry, I forgot to include the class definition:
class GeneratedFiltersTest extends PHPUnit_Framework_Testcase {
function testUnconfiguredFilter() {
$matcher = array(
'tag' => 'ul',
'children' => array(
'count' => 3,
'only' => array('tag' => 'li')
On 05/02/2012 10:55 AM, Michael Otteneder wrote:
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',
'child
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' =>
3 matches
Mail list logo