[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.4-341-g670438e9a1

Jim Brandt jbrandt at bestpractical.com
Wed Apr 14 14:23:51 EDT 2021


The branch, 4.4-trunk has been updated
       via  670438e9a16ed7bae276f83ee6c94888f6cecf74 (commit)
       via  eb7a8d9b4b37bc5094bbf270786778150fc3fc16 (commit)
      from  8c94c44c88fb39ed8117674e5b16b28a9320b457 (commit)

Summary of changes:
 t/crypt/smime/crl-check.t | 4 ++--
 t/crypt/smime/revoked.t   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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

    Migrate remaining RT::Test::SMIME in tests to RT::Test::Crypt
    
    Other tests were updated in ca1cee922.

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) {

commit 670438e9a16ed7bae276f83ee6c94888f6cecf74
Merge: 8c94c44c88 eb7a8d9b4b
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Apr 14 14:14:30 2021 -0400

    Merge branch '4.4/migrate-to-rt-test-crypt' into 4.4-trunk


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


More information about the rt-commit mailing list