Commit graph

68 commits

Author SHA1 Message Date
meadsteve f1052443ab add basic type checking for LoggerConfig::GetFor 2013-11-28 21:17:01 +00:00
Steve B aca6af3fec add test for non-function loader in plugin factory. 2013-11-28 14:12:50 +00:00
Steve B 9891a4be62 force plugin factory to only build plugins matching interface. 2013-11-28 14:05:26 +00:00
meadsteve 080784adc5 fix test expectations to be exact in phpunit 2013-11-25 21:48:21 +00:00
meadsteve a2c25d2d8f fix builder mocking 2013-11-25 21:30:10 +00:00
meadsteve 03a81a3283 fix whitespace. 2013-11-25 21:19:48 +00:00
meadsteve 9d1d2443a9 Move the mailer constructor logic out of the plugin and in to a factory class for reuse. 2013-11-17 21:26:38 +00:00
meadsteve 51f73458c8 allow swiftmailer object to be passed in to Email Plugin. 2013-11-17 17:50:06 +00:00
meadsteve e1d8239e8a Create factory for plugins that resources can be registered with. 2013-11-17 17:23:35 +00:00
meadsteve 637be4af63 added mocking for missing FindBinary command in phpunit tests 2013-11-03 11:48:01 +00:00
meadsteve 9a60c528dd mocked the missing build object for unit test for phpunit plugin. 2013-11-03 11:33:37 +00:00
meadsteve 84370038aa Added basic body and title for the email notifications. 2013-06-04 21:47:45 +01:00
meadsteve eaac43e0e8 Updating unit test to reflect that the test will fail without any addresses defined. 2013-06-04 20:13:15 +01:00
meadsteve d2c408f589 Updating the email plugin tests so that getSystemConfig is mocked correctly. 2013-06-01 13:31:15 +01:00
meadsteve f0a5ba50ca Filled out the Plugin\Email::sendEmail(). Pulls in the following settings from the phpci config under the heading email_settings:
smtp_address
smtp_port
smtp_username
smtp_password

and

from_address
2013-06-01 09:40:05 +01:00
meadsteve f76a2a75cc Empty Email plugin and test committed. 2013-05-31 12:56:35 +01:00
Dan Cryer 6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +01:00
meadsteve 2914e3a87d Added a unit test case for the PHPUnit plugin. It's not fully comprehensive but good to get these started. 2013-05-16 10:52:33 +01:00