Skip to content

[Mailer] Fix expected exception message to include quotes around "http(s)://" #61360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2025

Conversation

santysisi
Copy link
Contributor

@santysisi santysisi commented Aug 7, 2025

Q A
Branch? 7.4
Bug fix? yes
New feature? no
Deprecations? no
Issues no
License MIT

What does this PR do?

This PR updates a test assertion to match the actual exception message being thrown in the code.

The test was previously expecting the message:
<failingType> endpoint needs to be provided without http(s)://.

But the actual exception thrown is:
<failingType> endpoint needs to be provided without "http(s)://".

The discrepancy caused the test to fail. This fix ensures the test correctly reflects the expected output, including the necessary double quotes.

Changes made

  • Updated $this->expectExceptionMessage(...) to include the quoted string "http(s)://".

No other logic or behavior has been changed.

References

@santysisi
Copy link
Contributor Author

I think the errors aren't relevant in the context of this PR

@xabbuh
Copy link
Member

xabbuh commented Aug 8, 2025

Good catch, thanks @santysisi.

@xabbuh xabbuh merged commit fe8a2de into symfony:7.4 Aug 8, 2025
16 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants