Skip to content

Commit

Permalink
Fixed: array to string conversion in eZXMLTextTest
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickallaert committed Apr 23, 2012
1 parent cf9e86b commit f837f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/kernel/datatypes/ezxmltext/ezxmltext_test.php
Expand Up @@ -34,7 +34,7 @@ public function testInvalidHeaderLevel()
$parser = new eZSimplifiedXMLInputParser( 2, eZXMLInputParser::ERROR_ALL, eZXMLInputParser::ERROR_ALL, true );

$document = $parser->process( '<header level="-1">Fatal error test</header>' );
$this->assertTrue( $document instanceof DOMDocument, 'Parser error: ' . $parser->getMessages() );
$this->assertTrue( $document instanceof DOMDocument, 'Parser error: ' . join( ", ", $parser->getMessages() ) );

$root = $document->documentElement;
$this->assertTrue( $root->hasChildNodes(), 'Content missing, xml document is empty' );
Expand Down

0 comments on commit f837f7d

Please sign in to comment.