Skip to content

Commit 4ecb9e1

Browse files
authored
Update test-sample.php
1 parent 305b156 commit 4ecb9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-sample.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function test_single_item() {
2323
$items = array( (object) array( 'id' => 1, 'parent' => 0 ) );
2424
$output = $this->walker->walk( $items, 0 );
2525
$this->assertEquals( 1, $this->walker->get_number_of_root_elements( $items ) );
26-
$this->assertContains( '<li itemscope="itemscope" itemtype="https://www.schema.org/SiteNavigationElement" id="" class=""><a title="1" href="#">1</a></li>', $output );
26+
$this->assertContains( 'https://www.schema.org/SiteNavigationElement', $output );
2727
}
2828

2929
}

0 commit comments

Comments
 (0)