Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 71b0b50

Browse files
committed
moved code from setUp() method to constructor
1 parent 9fc46e4 commit 71b0b50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/MailerTest.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class MailerTest extends TestCase
2727
*/
2828
private $factory;
2929

30-
public function setUp()
30+
public function __construct($name = null, $data = array(), $dataName = '')
3131
{
32-
parent::setUp();
32+
parent::__construct($name, (array)$data, $dataName);
3333
$this->factory = new MessageFactory();
3434
$this->transport = new MockTransport(function ($log) {
3535
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /