File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public function testCreateMeetingWithDocumentUrl()
113113 public function testCreateMeetingWithDocumentUrlAndFileName ()
114114 {
115115 $ params = $ this ->getCreateMock ($ this ->generateCreateParams ());
116- $ params ->addPresentation ('https://placeholdit.imgix.net/~text?txtsize=96 &bg=30406B &txtclr=ffffff&txt=BigBlueButton&w=800 &h=600 ' , null , 'placeholder.png ' );
116+ $ params ->addPresentation ('https://placeholdit.imgix.net/~text?txtsize=100 &bg=AB5080 &txtclr=ffffff&txt=BigBlueButton&w=1920 &h=1080 ' , null , 'placeholder.png ' );
117117
118118 $ result = $ this ->bbb ->createMeeting ($ params );
119119
@@ -135,6 +135,21 @@ public function testCreateMeetingWithDocumentEmbedded()
135135 $ this ->assertEquals ('SUCCESS ' , $ result ->getReturnCode ());
136136 }
137137
138+ /**
139+ * Test create meeting with a multiple documents
140+ */
141+ public function testCreateMeetingWithMultiDocument ()
142+ {
143+ $ params = $ this ->getCreateMock ($ this ->generateCreateParams ());
144+ $ params ->addPresentation ('https://placeholdit.imgix.net/~text?txtsize=96&bg=DE3040&txtclr=ffffff&txt=BigBlueButton&w=1600&h=1200 ' , null , 'presentation.png ' );
145+ $ params ->addPresentation ('logo.png ' , file_get_contents (__DIR__ . DIRECTORY_SEPARATOR . 'fixtures ' . DIRECTORY_SEPARATOR . 'bbb_logo.png ' ));
146+
147+ $ result = $ this ->bbb ->createMeeting ($ params );
148+
149+ $ this ->assertCount (2 , $ params ->getPresentations ());
150+ $ this ->assertEquals ('SUCCESS ' , $ result ->getReturnCode ());
151+ }
152+
138153 /* Join Meeting */
139154
140155 /**
You can’t perform that action at this time.
0 commit comments