Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
remove unused $xml
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored and Ocramius committed Dec 31, 2014
1 parent 6460047 commit 6da99b0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/ZendTest/Config/Reader/XmlTest.php
Expand Up @@ -159,15 +159,7 @@ public function testCloseWhenCallFromStringReaderGetInvalid()
$configReader->getReader()->xml($xml, null, LIBXML_XINCLUDE);
$configReader->getReader()->setParserProperty(XMLReader::VALIDATE, true);
$this->assertTrue($configReader->getReader()->isValid());
$xml = <<<ECS
<?xml version="1.0" encoding="UTF-8"?>
<zend-config>
<test>foo</test>
<bar>baz</bar>
<bar>foo</bar>
</zend-config>

ECS;
$configReader->fromString($xml);
$this->setExpectedException('PHPUnit_Framework_Error_Warning');
$configReader->getReader()->setParserProperty(XMLReader::VALIDATE, true);
Expand Down

0 comments on commit 6da99b0

Please sign in to comment.