Skip to content

Commit

Permalink
PHPOffice#240 : PowerPoint2007 Reader : Support of Table (Unit Tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Mar 5, 2017
1 parent fa07db6 commit af4d7a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/PhpPresentation/Tests/Shape/Table/CellTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function testActiveParagraph()
$value = rand(0, 1);
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->getParagraph($value));

$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->setParagraphs(array()));
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setParagraphs(array()));
$this->assertCount(0, $object->getParagraphs());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText\\Paragraph', $object->createParagraph());
$this->assertCount(1, $object->getParagraphs());
Expand Down
2 changes: 1 addition & 1 deletion tests/PhpPresentation/Tests/Shape/TableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testNumColums()
$value = rand(1, 100);
$object = new Table();

$this->assertNull($object->getNumColumn());
$this->assertNull(1, $object->getNumColumn());
$this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Table\\Row', $object->setNumColumn($value));
$this->assertCount($value, $object->getRows());
}
Expand Down

0 comments on commit af4d7a5

Please sign in to comment.