[Rt-commit] rt branch, 4.4/migrate-to-rt-test-crypt, created. rt-4.4.4-316-g0770778b71

? sunnavy sunnavy at bestpractical.com
Thu Apr 1 18:00:28 EDT 2021


The branch, 4.4/migrate-to-rt-test-crypt has been created
        at  0770778b71704ef97b45433d6ccf7f226acf91a7 (commit)

- Log -----------------------------------------------------------------
commit 0770778b71704ef97b45433d6ccf7f226acf91a7
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Apr 2 05:34:50 2021 +0800

    Migrate left RT::Test::SMIME in tests to RT::Test::Crypt

diff --git a/t/crypt/smime/crl-check.t b/t/crypt/smime/crl-check.t
index 27f54e3032..1cdd3e3f70 100644
--- a/t/crypt/smime/crl-check.t
+++ b/t/crypt/smime/crl-check.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use RT::Test::SMIME tests => undef;
+use RT::Test::Crypt SMIME => 1, tests => undef;
 
 my $openssl = RT::Test->find_executable('openssl');
 my $keyring = File::Spec->catfile(RT::Test->temp_directory, "smime" );
@@ -17,7 +17,7 @@ RT->Config->Set('SMIME', Enable => 1,
     CheckOSCP => 1,
 );
 
-RT::Test::SMIME->import_key('sender-crl at example.com');
+RT::Test::Crypt->smime_import_key('sender-crl at example.com');
 
 if (!RT::Crypt::SMIME->SupportsCRLfile) {
     RT::Test::plan( skip_all => 'This version of openssl does not support the -CRLfile option');
diff --git a/t/crypt/smime/revoked.t b/t/crypt/smime/revoked.t
index 9f7622041c..ec6d6d26b4 100644
--- a/t/crypt/smime/revoked.t
+++ b/t/crypt/smime/revoked.t
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use RT::Test::SMIME tests => undef;
+use RT::Test::Crypt SMIME => 1, tests => undef;
 
 my $openssl = RT::Test->find_executable('openssl');
 my $keyring = File::Spec->catfile(RT::Test->temp_directory, "smime" );
@@ -17,7 +17,7 @@ RT->Config->Set('SMIME', Enable => 1,
     CheckOCSP => 1,
 );
 
-RT::Test::SMIME->import_key('revoked at example.com');
+RT::Test::Crypt->smime_import_key('revoked at example.com');
 
 
 if (!RT::Crypt::SMIME->SupportsCRLfile) {

-----------------------------------------------------------------------


More information about the rt-commit mailing list