diff -u b/lib/Drupal/pgn/Tests/XmlEncoderUnitTest.php b/lib/Drupal/pgn/Tests/XmlEncoderUnitTest.php --- b/lib/Drupal/pgn/Tests/XmlEncoderUnitTest.php +++ b/lib/Drupal/pgn/Tests/XmlEncoderUnitTest.php @@ -10025,7 +10025,11 @@ $encoder = new XmlEncoder(); $decoded = $encoder->decode($this->pgnxml, 'pgnxml'); - $this->assertEqual($this->normalized, $decoded, 'Decoded PGNXML is equal to expected PGN data.'); + + $expected = $this->normalized; + unset($expected['@xmlns']); + + $this->assertEqual($expected, $decoded, 'Decoded PGNXML is equal to expected PGN data.'); $encoded = $encoder->encode($this->normalized, 'pgnxml', array('xml_root_node_name' => 'PGNGAMES'));