@@ -87,8 +87,7 @@ protected function generateCreateParams()
8787 'copyright ' => $ this ->faker ->text ,
8888 'muteOnStart ' => $ this ->faker ->boolean (50 ),
8989 'meta_presenter ' => $ this ->faker ->name ,
90- 'meta_endCallbackUrl ' => $ this ->faker ->url ,
91- 'userdata_countrycode ' => $ this ->faker ->countryCode
90+ 'meta_endCallbackUrl ' => $ this ->faker ->url
9291 ];
9392 }
9493
@@ -121,8 +120,7 @@ protected function getCreateMock($params)
121120 ->setDuration ($ params ['duration ' ])->setWelcomeMessage ($ params ['welcomeMessage ' ])->setAutoStartRecording ($ params ['autoStartRecording ' ])
122121 ->setAllowStartStopRecording ($ params ['allowStartStopRecording ' ])->setModeratorOnlyMessage ($ params ['moderatorOnlyMessage ' ])
123122 ->setWebcamsOnlyForModerator ($ params ['webcamsOnlyForModerator ' ])->setLogo ($ params ['logo ' ])->setCopyright ($ params ['copyright ' ])
124- ->setEndCallbackUrl ($ params ['meta_endCallbackUrl ' ])->setMuteOnStart ($ params ['muteOnStart ' ])->addMeta ('presenter ' , $ params ['meta_presenter ' ])
125- ->addUserData ('countrycode ' , $ params ['userdata_countrycode ' ]);
123+ ->setEndCallbackUrl ($ params ['meta_endCallbackUrl ' ])->setMuteOnStart ($ params ['muteOnStart ' ])->addMeta ('presenter ' , $ params ['meta_presenter ' ]);
126124 }
127125
128126 /**
@@ -143,12 +141,14 @@ protected function getBreakoutCreateMock($params)
143141 */
144142 protected function generateJoinMeetingParams ()
145143 {
146- return ['meetingId ' => $ this ->faker ->uuid ,
147- 'userName ' => $ this ->faker ->name ,
148- 'password ' => $ this ->faker ->password ,
149- 'userId ' => $ this ->faker ->numberBetween (1 , 1000 ),
150- 'webVoiceConf ' => $ this ->faker ->word ,
151- 'creationTime ' => $ this ->faker ->unixTime ];
144+ return ['meetingId ' => $ this ->faker ->uuid ,
145+ 'userName ' => $ this ->faker ->name ,
146+ 'password ' => $ this ->faker ->password ,
147+ 'userId ' => $ this ->faker ->numberBetween (1 , 1000 ),
148+ 'webVoiceConf ' => $ this ->faker ->word ,
149+ 'creationTime ' => $ this ->faker ->unixTime ,
150+ 'userdata_countrycode ' => $ this ->faker ->countryCode
151+ ];
152152 }
153153
154154 /**
@@ -160,7 +160,8 @@ protected function getJoinMeetingMock($params)
160160 {
161161 $ joinMeetingParams = new JoinMeetingParameters ($ params ['meetingId ' ], $ params ['userName ' ], $ params ['password ' ]);
162162
163- return $ joinMeetingParams ->setUserId ($ params ['userId ' ])->setWebVoiceConf ($ params ['webVoiceConf ' ])->setCreationTime ($ params ['creationTime ' ]);
163+ return $ joinMeetingParams ->setUserId ($ params ['userId ' ])->setWebVoiceConf ($ params ['webVoiceConf ' ])
164+ ->setCreationTime ($ params ['creationTime ' ])->addUserData ('countrycode ' , $ params ['userdata_countrycode ' ]);
164165 }
165166
166167 /**
0 commit comments