Skip to content

Commit

Permalink
fix: fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
petrealessio committed Sep 20, 2024
1 parent 04cf46a commit 873f259
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/Api/Meetings/Meeting.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ public function join(
}

return new MeetingsEntity($response->data);

}

public function listTemplates(
Expand Down Expand Up @@ -209,7 +208,6 @@ public function detailTemplate(
public function detailControlStatus(
string $meetingId
) {

$response = $this->get('meetings/controls', [
'meetingId' => $meetingId,
]);
Expand Down Expand Up @@ -584,7 +582,6 @@ public function destroyInterpreter(
public function listBreakoutSessions(
string $meetingId
) {

$response = $this->get('meetings/'.$meetingId.'/breakoutSessions', []);

if (! $response->success) {
Expand Down Expand Up @@ -635,7 +632,6 @@ public function destroyBreakoutSessions(
public function detailSurvey(
string $meetingId
) {

$response = $this->get('meetings/'.$meetingId.'/survey', []);

if (! $response->success) {
Expand Down Expand Up @@ -703,7 +699,6 @@ public function createInvitationSources(
public function listInvitationSources(
string $meetingId
) {

$response = $this->get('meetings/'.$meetingId.'/invitationSources', []);

if (! $response->success) {
Expand Down
1 change: 1 addition & 0 deletions tests/Fake/Meetings/MeetingsFakeResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public function getErrorOnMeetingsFakeListSessionTypes()
$this->fakeError()
);
}

public function getMeetingsFakeDetailSessionType()
{
return json_encode(
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/Meetings/MeetingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ public function test_meetings_query_registrants()
]);

$laravel_webex = new LaravelWebex();
$query_registrants = $laravel_webex->meeting()->queryRegistrants('fake_meeting_id', ['fake_email_1', 'fake_email_2',]);
$query_registrants = $laravel_webex->meeting()->queryRegistrants('fake_meeting_id', ['fake_email_1', 'fake_email_2']);

$this->assertInstanceOf(Meeting::class, $query_registrants);
$this->assertEquals('fake_id', $query_registrants->id);
Expand All @@ -751,7 +751,7 @@ public function test_error_on_meeting_query_registrants()
]);

$laravel_webex = new LaravelWebex();
$error_meeting = $laravel_webex->meeting()->queryRegistrants('fake_meeting_id', ['fake_email_1', 'fake_email_2',]);
$error_meeting = $laravel_webex->meeting()->queryRegistrants('fake_meeting_id', ['fake_email_1', 'fake_email_2']);

$this->assertInstanceOf(Error::class, $error_meeting);
$this->assertEquals('fake_message', $error_meeting->message);
Expand Down Expand Up @@ -833,7 +833,7 @@ public function test_meetings_update_simultaneous_interpretation()
]);

$laravel_webex = new LaravelWebex();
$updated_simultaneous_interpretation= $laravel_webex->meeting()->updateSimultaneousInterpretation('fake_meeting_id', 'fake_enabled');
$updated_simultaneous_interpretation = $laravel_webex->meeting()->updateSimultaneousInterpretation('fake_meeting_id', 'fake_enabled');

$this->assertInstanceOf(Meeting::class, $updated_simultaneous_interpretation);
$this->assertEquals('fake_id', $updated_simultaneous_interpretation->id);
Expand Down

0 comments on commit 873f259

Please sign in to comment.