Skip to content

Conversation

ahmedelsied
Copy link

@ahmedelsied ahmedelsied commented Dec 4, 2024

Summary:

  • Updated Illuminate/Support version: The illuminate/support package version has been updated from ^9.0|^10 to ^9.0|^10|^11.0 to ensure compatibility with Laravel 11 and future-proof the application.

  • Added Mock Test for SMSDriverFactory: Implemented a mock test for the SMSDriverFactory to simulate the behavior of the SMS service and ensure correct handling of dependencies during testing.

  • Added Mock Test for SMS Final Class: Created mock tests for the SMS final class, overcoming the limitations of mocking final classes by using partial mocks. This ensures that HTTP requests made by the SMS service are skipped during tests, improving test isolation and performance.

@RobustaStudio RobustaStudio deleted a comment from ahmedelsied Dec 4, 2024
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