Commit Graph

4 Commits

Author SHA1 Message Date
Martin Molinero e73e927c0f Enable parallel unit testing 2020-04-27 17:45:53 -03:00
Martin Molinero f7665bf596 Address reviews
- Adding missing header file
- Adding string.Empty as default value for email data/message and subject. If null will use string.Empty
2019-07-10 18:44:28 -03:00
Michael Handschuh eeae2e291e BUG #3021: Validate email addresses in NotificationEmail
* Adds Validate class in util with accompanying regular expressions
* Provides tests for NotificationEmail and Validate.EmailAddress
* Provides default values for NotificationEmail Subject and Message
  These default values resolve the underlying issue of #3021 w/out
  needing to modify external sources (such as impl of IMessagingHandler)
2019-07-08 02:52:04 -04:00
Michael Handschuh fb6b87392c BUG #3021: Add NotificationManagerTests
Adds basic test coverage for default NotificationManager.
* Confirms correct notification type added to Messages
* Confirms rate limit set at 30 (unable to fully test due to hard-coded
  and non-abstracted rate limit logic (could upgrade to RateGate as ctor
  parameter to aid unit testing here)
2019-07-08 02:52:04 -04:00