Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #48565 [Notifier] [FakeChat] Allow missing optional dependenc…
…y (Benjamin Schoch) This PR was merged into the 6.3 branch. Discussion ---------- [Notifier] [FakeChat] Allow missing optional dependency | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? |no | New feature? | kind of | Deprecations? | no | Tickets | see #48441 | License | MIT Nearly the same as in this PR: #48546 This allows the `FakeChatTransportFactory` to be used without providing an implementation of `MailerInterface` or `LoggerInterface` if one of them is actually not required during runtime. I did not share any of the implementation now between both components. I could think of pulling out the Exception as well as Parts of the test to something like a `FakeTransportFactoryTestCase` for example. What do you think? Commits ------- 3f312b8 [Notifier] [FakeChat] Allow missing optional dependency
- Loading branch information
Showing
3 changed files
with
79 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters