File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/PhpPresentation/Tests/Shape Expand file tree Collapse file tree 2 files changed +2
-2
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 \\ Paragraph ' , $ object ->setParagraphs (array ()));
59
+ $ this ->assertInstanceOf ('PhpOffice \\PhpPresentation \\Shape \\RichText ' , $ 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,7 +38,7 @@ public function testNumColums()
38
38
$ value = rand (1 , 100 );
39
39
$ object = new Table ();
40
40
41
- $ this ->assertNull ($ object ->getNumColumn ());
41
+ $ this ->assertNull (1 , $ object ->getNumColumn ());
42
42
$ this ->assertInstanceOf ('PhpOffice \\PhpPresentation \\Shape \\Table \\Row ' , $ object ->setNumColumn ($ value ));
43
43
$ this ->assertCount ($ value , $ object ->getRows ());
44
44
}
You can’t perform that action at this time.
0 commit comments