Skip to content

Conversation

@vitormattos
Copy link
Collaborator

No description provided.

The test was hardcoding '0' as the gateway selection index, which
assumed SMS would always be the first gateway. However, gateways are
discovered from the autoloader classmap and may be in different order
(e.g., 'gowhatsapp' alphabetically comes before 'sms').

This fix dynamically finds the actual index of the SMS gateway in the
available gateways list and uses that for the test input, ensuring
the correct gateway is selected before configuring SMS providers.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos self-assigned this Dec 18, 2025
@vitormattos
Copy link
Collaborator Author

/backport to stable32

@vitormattos
Copy link
Collaborator Author

/backport to stable31

@vitormattos vitormattos merged commit bd736bc into master Dec 18, 2025
38 checks passed
@vitormattos vitormattos deleted the fix/configure-test-gateway-selection branch December 18, 2025 11:08
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.

2 participants