HomePhabricator

Add PHPUnit tests for extension SendGrid

Authored by Phantom42 <nikitav30@gmail.com> on Jan 16 2018, 2:05 AM.

Description

Add PHPUnit tests for extension SendGrid

This adds tests for SendGridHooks.
Please note that SendGridHooks code was changed to make
sendgrid object mockable.
Additionally, UnitTestsList hook was added.

Bug: T183572
Change-Id: Iabbcb66467b180bab7250d27b869037d5bc57f5f