Skip to content

Conversation

@OskarStark
Copy link
Contributor

Q A
Branch? 7.2
Bug fix? no
New feature? no
Deprecations? no
Issues Follows #58242
License MIT

Still waiting for #58242 to get unmerged, to fix also the newly introduced test.

@OskarStark OskarStark self-assigned this Sep 16, 2024
@carsonbot carsonbot added this to the 7.2 milestone Sep 16, 2024
@carsonbot carsonbot changed the title [Notifier][TurboSms] Better tests [Notifier] [TurboSms] Better tests Sep 16, 2024

$message = new SmsMessage('380931234567', 'Hello!');
$transport = new TurboSmsTransport('authToken', 'abcdefghijklmnopqrstu', $this->createMock(HttpClientInterface::class));
new TurboSmsTransport('authToken', 'abcdefghijklmnopqrstu', $this->createMock(HttpClientInterface::class));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the exception happens already in TurboSmsTransport::constructor(), no need to call send()

@OskarStark
Copy link
Contributor Author

Rebased and ready to merge from my side

@fabpot fabpot force-pushed the feature/better-tests branch from 86cb707 to 553951e Compare September 18, 2024 15:50
@fabpot
Copy link
Member

fabpot commented Sep 18, 2024

Thank you @OskarStark.

@fabpot fabpot merged commit fa5cd80 into symfony:7.2 Sep 18, 2024
@OskarStark OskarStark deleted the feature/better-tests branch September 18, 2024 17:22
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.

5 participants