Skip to content

Commit 5fe42ae

Browse files
committed
#123 : Support for Video (Fix PHPUnit tests)
1 parent 8381601 commit 5fe42ae

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/PhpPresentation/Writer/ODPresentation.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ public function save($pFilename)
117117

118118
ksort($arrayFiles);
119119

120-
foreach ($arrayFiles as $basename => $o) {
121-
echo "\n".dirname(__FILE__).DIRECTORY_SEPARATOR.'ODPresentation'."/".$basename."\n";
120+
foreach ($arrayFiles as $o) {
122121
$oService = $o->newInstance();
123122
$oService->setZip($oZip);
124123
$oService->setPresentation($oPresentation);

tests/PhpPresentation/Tests/_includes/XmlDocument.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ public function getFileDom($file = 'word/document.xml')
7373
return $this->dom;
7474
}
7575

76-
if (strpos($file, 'Object') !== false) {
77-
foreach (glob($this->path."/*") as $filename) {
78-
echo "\n".$this->path."/".$filename."\n";
79-
}
80-
}
81-
8276
$this->xpath = null;
8377
$this->file = $file;
8478

0 commit comments

Comments
 (0)