diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-31 15:01:21 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-31 15:01:21 +0200 |
commit | afa0b1df58d93059686f00017a111185e5ee2674 (patch) | |
tree | dd19a4c411e3945723aafd5658260db88be55c9a | |
parent | 935e50628bfc7838ef4c53d640a2211c6ee36583 (diff) |
Use setUp() instead of __construct()
-rw-r--r-- | tests/MailFunc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MailFunc.php b/tests/MailFunc.php index 57a6b9d10..967277c2a 100644 --- a/tests/MailFunc.php +++ b/tests/MailFunc.php @@ -8,7 +8,7 @@ class MailFunc extends PHPUnit_Framework_TestCase { - function __construct() + function setUp() { // simulate environment to successfully include func.inc $GLOBALS['RCMAIL'] = $RCMAIL = rcmail::get_instance(); |