Skip to content

Conversation

@samuelwei
Copy link

See #229

@samuelwei samuelwei linked an issue Oct 28, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Oct 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.09%. Comparing base (13fabd0) to head (b67a2da).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #230      +/-   ##
============================================
- Coverage     98.73%   98.09%   -0.65%     
- Complexity      446      454       +8     
============================================
  Files            52       54       +2     
  Lines          1027     1049      +22     
============================================
+ Hits           1014     1029      +15     
- Misses           13       20       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where the createMeeting API call was always being sent as a POST request, even when no additional data (presentations or client settings) was being included. The fix ensures that when no modules are present, the request is sent as a GET request instead.

Key Changes:

  • Modified getModules() to return an empty string when no modules (presentations or client settings) are added
  • Added test coverage for both scenarios: creating a meeting without modules and with presentations/client settings

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/Parameters/CreateMeetingParameters.php Modified getModules() to detect when no modules are added and return an empty string instead of empty XML
tests/unit/BigBlueButtonTest.php Added test cases to verify empty payload for basic meeting creation and XML payload when presentations are included

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@FelixJacobi FelixJacobi merged commit a8c6b3c into master Oct 28, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Meeting call is always a POST request

3 participants