Fix for RT#32215 ticket for multipart not coming through
[catagits/Catalyst-View-Email.git] / t / lib / TestApp / Controller / Root.pm
index 4e95693..bff9d20 100644 (file)
@@ -59,9 +59,10 @@ sub template_email : Global('template_email') {
     $c->stash->{time} = $c->req->params->{time} || time;
 
     $c->stash->{email} = {
-        to      => 'test-email@example.com',
-        from    => 'no-reply@example.com',
-        subject => 'Just a test',
+        to           => 'test-email@example.com',
+        from         => 'no-reply@example.com',
+        subject      => 'Just a test',
+        content_type => 'multipart/alternative',
         templates => [
             {
                 template        => 'text_plain/test.tt',