diff --git a/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php b/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php
index <HASH>..<HASH> 100644
--- a/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php
+++ b/tests/phpunit/Parsoid/Html2Wt/DOMDiffTest.php
@@ -54,7 +54,7 @@ class DOMDiffTest extends TestCase {
 				// precisely here. And, we need to revisit whether that
 				// page id comparison is still needed / useful.
 				$data = DOMDataUtils::getNodeData( $node );
-				$markers = $data->parsoid_diff->diff;
+				$markers = $data->parsoid_diff->diff ?? [];
 
 				$this->assertCount( count( $spec['markers'] ), $markers,
 					'number of markers does not match' );
@@ -80,7 +80,9 @@ class DOMDiffTest extends TestCase {
 					'desc' => 'ignore attribute order in a node',
 					'orig' => '<font size="1" class="x">foo</font>',
 					'edit' => '<font class="x" size="1">foo</font>',
-					'specs' => []
+					'specs' => [
+						[ 'selector' => 'font', 'markers' => [] ],
+					]
 				]
 			],
 			[
Fix complaint that test did not perform any assertions

Change-Id: I<I>c<I>edcc3a0c5cda5dc<I>c8c<I>d1