Skip to content
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

Stop sending Airbrake notifications in tests #229

Merged
merged 6 commits into from
May 17, 2023

Conversation

Cruikshanks
Copy link
Member

@Cruikshanks Cruikshanks commented May 17, 2023

Spotted when needing to go into Errbit for another reason we are sending real notifications when running our unit tests.

This change ensures it's stubbed out where this is happening to avoid real notifications being sent. Also with this change, we remove the noise that appeared in our test output when working with errors.

Spotted when needing to go into [Errbit](https://errbit.com/) for another reason that we are sending real notifications when running our unit tests.

This change ensures it's stubbed out where this is happening to avoid real notifications being sent.
@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label May 17, 2023
@Cruikshanks Cruikshanks self-assigned this May 17, 2023
This a little different from the others. When Boom was being called it was automatically outputting details of the error in our test output. This tweak silences the output but doesn't effect the behaviour.
@Cruikshanks Cruikshanks marked this pull request as ready for review May 17, 2023 16:43
Copy link
Contributor

@StuAA78 StuAA78 left a comment

Choose a reason for hiding this comment

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

@Cruikshanks Cruikshanks merged commit 7936bfb into main May 17, 2023
@Cruikshanks Cruikshanks deleted the stop-notifying-erribit-in-tests branch May 17, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants