Skip to content

Commit f64f7bd

Browse files
committed
fix test
1 parent f192573 commit f64f7bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/PhpPresentation/Tests/Writer/PowerPoint2007/PptChartsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ public function testView3D()
891891

892892
$element = '/c:chartSpace/c:chart/c:view3D/c:hPercent';
893893
$this->assertZipXmlElementExists('ppt/charts/' . $oShape->getIndexedFilename(), $element);
894-
$this->assertZipXmlAttributeEquals('ppt/charts/' . $oShape->getIndexedFilename(), $element, 'val', 100);
894+
$this->assertZipXmlAttributeEquals('ppt/charts/' . $oShape->getIndexedFilename(), $element, 'val', '100%');
895895

896896
$oShape->getView3D()->setHeightPercent(null);
897897
$this->resetPresentationFile();

tests/PhpPresentation/Tests/Writer/PowerPoint2007/PptSlidesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ public function testRichTextLineSpacing()
541541

542542
$element = '/p:sld/p:cSld/p:spTree/p:sp/p:txBody/a:p/a:pPr/a:lnSpc/a:spcPct';
543543
$this->assertZipXmlElementExists('ppt/slides/slide1.xml', $element);
544-
$this->assertZipXmlAttributeEquals('ppt/slides/slide1.xml', $element, 'val', $expectedLineSpacing * 1000);
544+
$this->assertZipXmlAttributeEquals('ppt/slides/slide1.xml', $element, 'val', $expectedLineSpacing . '%');
545545
}
546546

547547
public function testRichTextRunLanguage()

0 commit comments

Comments
 (0)