Skip to content

Commit af4d7a5

Browse files
committed
#240 : PowerPoint2007 Reader : Support of Table (Unit Tests)
1 parent fa07db6 commit af4d7a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/PhpPresentation/Tests/Shape/Table/CellTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function testActiveParagraph()
5656
$value = rand(0, 1);
5757
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->getParagraph($value));
5858

59-
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->setParagraphs(array()));
59+
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setParagraphs(array()));
6060
$this->assertCount(0, $object->getParagraphs());
6161
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->createParagraph());
6262
$this->assertCount(1, $object->getParagraphs());

tests/PhpPresentation/Tests/Shape/TableTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testNumColums()
3838
$value = rand(1, 100);
3939
$object = new Table();
4040

41-
$this->assertNull($object->getNumColumn());
41+
$this->assertNull(1, $object->getNumColumn());
4242
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Table\\Row', $object->setNumColumn($value));
4343
$this->assertCount($value, $object->getRows());
4444
}

0 commit comments

Comments
 (0)