RT# 76093 - added ability for processing fee to be used with batch processing. V3...
[freeside.git] / rt / t / mail / gnupg-outgoing-plain.t
1 use strict;
2 use warnings;
3
4 use RT::Test::GnuPG
5   tests         => 103,
6   gnupg_options => {
7     passphrase    => 'rt-test',
8     'trust-model' => 'always',
9   };
10
11 RT::Test->import_gnupg_key('rt-recipient@example.com');
12 RT::Test->import_gnupg_key( 'rt-test@example.com', 'public' );
13
14 my $queue = RT::Test->load_or_create_queue(
15     Name              => 'Regression',
16     CorrespondAddress => 'rt-recipient@example.com',
17     CommentAddress    => 'rt-recipient@example.com',
18 );
19 ok $queue && $queue->id, 'loaded or created queue';
20
21 my ( $baseurl, $m ) = RT::Test->started_ok;
22 ok $m->login, 'logged in';
23
24 create_and_test_outgoing_emails( $queue, $m );