aboutsummaryrefslogtreecommitdiff
path: root/t/tests/sietima/role/nomail.t
blob: df4d10607927f8f037efc9ef590d17a53442e430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!perl 
use strict;
use warnings;
use 5.020;
use lib 't/lib';
use Test::Sietima;
 
my $s = make_sietima(
    with_traits => ['NoMail'],
    subscribers => [
        {
            raw_address => 'one@users.example.com',
            wants_mail => 0,
        },
        'two@users.example.com',
    ],
);
 
test_sending(
    sietima => $s,
    to => ['two@users.example.com'],
);
 
done_testing;