Skip to content

Commit

Permalink
Update php_badgeTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
yakeing committed Sep 15, 2019
1 parent 5d735d1 commit aad1cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/php_badgeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testBadge(){
$ob_Splicing = $Badge->svg($db_Splicing);
file_put_contents('/tmp/Splicing.svg', $ob_Splicing);
$this->assertFileExists('/tmp/Splicing.svg');
//$this->assertXmlFileEqualsXmlFile($path.'/Splicing.svg', '/tmp/Splicing.svg');
$this->assertXmlFileEqualsXmlFile($path.'/Splicing.svg', '/tmp/Splicing.svg');
//----------- Simplexml --------------//
$Badge->SimplexmlNo = true; //Simplexml Svg
$db_Simplexml = array(
Expand All @@ -36,6 +36,6 @@ public function testBadge(){
$ob_Simplexml = $Badge->svg($db_Simplexml);
file_put_contents('/tmp/Simplexml.svg', $ob_Simplexml);
$this->assertFileExists('/tmp/Simplexml.svg');
//$this->assertXmlFileEqualsXmlFile($path.'/Simplexml.svg', '/tmp/Simplexml.svg');
$this->assertXmlFileEqualsXmlFile($path.'/Simplexml.svg', '/tmp/Simplexml.svg');
}
}

0 comments on commit aad1cb5

Please sign in to comment.