Homec4science

Disable notifications while running unit tests

Authored by epriestley <git@epriestley.com> on Aug 7 2014, 00:27.

Description

Disable notifications while running unit tests

Summary:
Currently, we'll try to publish notifications while running tests. This is at best unnecessary and at worst problematic (we don't stub out the server).

For now, just never publish them.

Test Plan: Ran unit tests with notifications enabled but the server down and didn't get a bunch of warnings.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D10171

Details

Committed
epriestley <git@epriestley.com>Aug 7 2014, 00:27
Pushed
aubortJan 31 2017, 17:16
Parents
rPH1bd714f8ac48: Macro - allow view controller to be viewed publicly
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1e1eb6921b1d: Disable notifications while running unit tests (authored by epriestley <git@epriestley.com>).Aug 7 2014, 00:27