Commit c22409e3 by Qiang Xue

Fixed test break using file transport.

parent d6f97ff4
...@@ -27,4 +27,4 @@ class VendorTestCase extends TestCase ...@@ -27,4 +27,4 @@ class VendorTestCase extends TestCase
throw new NotSupportedException("Vendor autoload file '{$vendorAutoload}' is missing."); throw new NotSupportedException("Vendor autoload file '{$vendorAutoload}' is missing.");
} }
} }
} }
\ No newline at end of file
...@@ -56,7 +56,9 @@ class MessageTest extends VendorTestCase ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment