File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/PhpPresentation/Tests/Shape Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function testActiveParagraph()
56
56
$ value = rand (0 , 1 );
57
57
$ this ->assertInstanceOf ('PhpOffice \\PhpPresentation \\Shape \\RichText \\Paragraph ' , $ object ->getParagraph ($ value ));
58
58
59
- $ this ->assertInstanceOf ('PhpOffice \\PhpPresentation \\Shape \\RichText ' , $ object ->setParagraphs (array ()));
59
+ $ this ->assertInstanceOf ('PhpOffice \\PhpPresentation \\Shape \\Table \\ Cell ' , $ object ->setParagraphs (array ()));
60
60
$ this ->assertCount (0 , $ object ->getParagraphs ());
61
61
$ this ->assertInstanceOf ('PhpOffice \\PhpPresentation \\Shape \\RichText \\Paragraph ' , $ object ->createParagraph ());
62
62
$ this ->assertCount (1 , $ object ->getParagraphs ());
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ public function testNumColums()
38
38
$ value = rand (1 , 100 );
39
39
$ object = new Table ();
40
40
41
- $ this ->assertNull (1 , $ object ->getNumColumn ());
41
+ $ this ->assertEquals (1 , $ object ->getNumColumn ());
42
42
$ this ->assertInstanceOf ('PhpOffice \\PhpPresentation \\Shape \\Table \\Row ' , $ object ->setNumColumn ($ value ));
43
- $ this ->assertCount ($ value , $ object ->getRows ());
43
+ $ this ->assertEquals ($ value , $ object ->getNumColumn ());
44
44
}
45
45
46
46
public function testRows ()
You can’t perform that action at this time.
0 commit comments