Skip to content

Commit

Permalink
Test Sisimai::Reason::AuthFailure class and error messages for the cl…
Browse files Browse the repository at this point in the history
…ass #467
  • Loading branch information
azumakuniyuki committed Nov 4, 2022
1 parent 6dd78cf commit bca241c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions t/200-reason.t
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ my $Message = [
'smtp;550 5.1.1 <kijitora@example.or.jp>... User unknown',
'550 5.1.1 <kijitora@example.jp>... User Unknown ',
'550 5.1.1 <this-local-part-does-not-exist-on-the-server@example.jp>... ',
'550 Bad SPF records for [example.org:192.0.2.2], see http://spf.pobox.com/',
'Connection timed out',
];

Expand Down
1 change: 1 addition & 0 deletions t/201-reason-children.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use Module::Load;
use Sisimai;

my $reasonchildren = {
'AuthFailure' => ["550 5.1.0 192.0.2.222 is not allowed to send from <example.net> per it's SPF Record"],
'Blocked' => ['550 Access from ip address 192.0.2.1 blocked.'],
'ContentError' => ['550 5.6.0 the headers in this message contain improperly-formatted binary content'],
'ExceedLimit' => ['5.2.3 Message too large'],
Expand Down

0 comments on commit bca241c

Please sign in to comment.