Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Notifier] Replace tests dummy instances by already in place mocks #49398

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

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? no
Tickets Fix #49385 (comment)
License MIT
Doc PR NA

Replacing dummy classes to use already existing mocks and stubs (MockHttpClient, NullLogger and so on).

@nicolas-grekas
Copy link
Member

Thank you @alexandre-daubois.

nicolas-grekas added a commit that referenced this pull request Feb 16, 2023
…lace mocks (alexandre-daubois)

This PR was merged into the 5.4 branch.

Discussion
----------

[Notifier] Replace tests dummy instances by already in place mocks

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #49385 (comment)
| License       | MIT
| Doc PR        | _NA_

Replacing dummy classes to use already existing mocks and stubs (`MockHttpClient`, `NullLogger` and so on).

Commits
-------

83120cb [Notifier] Replace tests dummy instances by already in place mocks
@nicolas-grekas nicolas-grekas force-pushed the instances-replacement-notifier-tests branch from b7be6f0 to 83120cb Compare February 16, 2023 08:00
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