Skip to content

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Sep 17, 2025

Q A
Bug fix? no
New feature? no
Docs? no
Issues Follows #628
License MIT

Tests verify that ModelNotFoundException is properly thrown when:

  • 404 response contains "model not found" message (case-insensitive)
  • Exception is not thrown for 404 responses without the specific message

cc @welcoMattic

@OskarStark OskarStark self-assigned this Sep 17, 2025
@carsonbot carsonbot added Status: Needs Review Platform Issues & PRs about the AI Platform component labels Sep 17, 2025
…erters

Tests verify that ModelNotFoundException is properly thrown when:
- 404 response contains "model not found" message (case-insensitive)
- Exception is not thrown for 404 responses without the specific message

Uses TestWith data provider to simplify test cases and createMock for proper mock expectations.
@OskarStark OskarStark force-pushed the test-model-not-found-exception branch from 134696f to f059335 Compare September 17, 2025 20:03
@OskarStark OskarStark merged commit f612478 into symfony:main Sep 17, 2025
14 checks passed
@OskarStark OskarStark deleted the test-model-not-found-exception branch September 17, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Issues & PRs about the AI Platform component Status: Needs Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants