summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-31 15:01:21 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-31 15:01:21 +0200
commitafa0b1df58d93059686f00017a111185e5ee2674 (patch)
treedd19a4c411e3945723aafd5658260db88be55c9a /tests
parent935e50628bfc7838ef4c53d640a2211c6ee36583 (diff)
Use setUp() instead of __construct()
Diffstat (limited to 'tests')
-rw-r--r--tests/MailFunc.php2
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();