Commit Graph

9 Commits

Author SHA1 Message Date
Sam Minnee
9cd74d304c NEW: Refactor TestMailer to extend from the default
This means that Mailer can be refactored and this will still work.

Merge after https://github.com/silverstripe/silverstripe-framework/pull/6483
and before https://github.com/silverstripe/silverstripe-framework/pull/6466
2017-01-12 10:02:01 +13:00
Damian Mooyman
faca1e6f71
Update for framework namespacing 2016-09-08 10:07:35 +12:00
Damian Mooyman
1eb1004957
Convert to PSR-2 standard
Enforce PHPCS checking
2016-08-10 13:56:30 +12:00
Jeffrey Guo
3b6b525e8c update the params to be array on sending email 2015-07-28 09:14:08 +12:00
Jeffrey Guo
4f7b794d9c get the last one email 2014-04-30 17:30:50 +12:00
Ingo Schommer
ca455423ef Changes required for persisting state directly on disk
applyState() used to persist in memory, which could lead
to outdated state depending on execution flow between CLI
and web requests. Since state is now in a JSON object,
it also fixes the array access.
2014-03-01 18:26:21 +13:00
Ingo Schommer
a40896db8b Using TestSessionEnvironment for saving emails
Easier debugging through JSON file inspection,
which can be logged in its entirety more easily
than a database table. It also keeps data in one place.
2014-03-01 14:47:12 +13:00
Ingo Schommer
a0517d7680 Better email assertions 2014-02-27 23:02:43 +13:00
Ingo Schommer
6c9be905f9 NEW Email testing 2012-12-19 15:56:20 +01:00