Browse Source

Fixed test break using file transport.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
c22409e397
  1. 4
      tests/unit/extensions/swiftmailer/MessageTest.php

4
tests/unit/extensions/swiftmailer/MessageTest.php

@ -56,7 +56,9 @@ class MessageTest extends VendorTestCase
*/ */
protected function createTestEmailComponent() protected function createTestEmailComponent()
{ {
$component = new Mailer(); $component = new Mailer([
'useFileTransport' => true,
]);
return $component; return $component;
} }

Loading…
Cancel
Save