Pluf Framework

Sign in or create your account | Project List | Help

Pluf Framework Commit Details

Date:2009-06-19 17:44:35 (1 year 2 months ago)
Author:Loïc d'Anterroches
Commit:45186bf595f3786a8668e904dc00d6d46f77fa33
Message:Updated to add more info when in unit tests.

Files: src/Pluf/Dispatcher.php (1 diff)
src/Pluf/Mail.php (1 diff)

Change Details

src/Pluf/Dispatcher.php
7575                $response = new Pluf_HTTP_Response_ServerError($e);
7676            }
7777            $response->render($req->method != 'HEAD' and !defined('IN_UNIT_TESTS'));
78            if (defined('IN_UNIT_TESTS')) {
79                throw $e;
80            }
7881        }
7982        /**
8083         * [signal]
src/Pluf/Mail.php
194194        if (Pluf::f('send_emails', true)) {
195195            $mail->send($this->to_address, $hdrs, $body);
196196        }
197        if (defined('IN_UNIT_TESTS')) {
198            $GLOBALS['_PX_UNIT_TESTS']['emails'][] = array($this->to_address, $hdrs, $body);
199        }
197200    }
198201}

Archive Download the corresponding diff file

Branches:
develop
master