Newer Test::More lazy-loads more stuff (overload.pm in this case)
[dbsrgits/DBIx-Class.git] / xt / optional_deps.t
index 66f6a65..efb7edf 100644 (file)
@@ -9,7 +9,7 @@ use Scalar::Util; # load before we break require()
 use Carp ();   # Carp is not used in the test, but we want to have it loaded for proper %INC comparison
 
 # a dummy test which lazy-loads more modules (so we can compare INC below)
-ok (1);
+is_deeply([], []);
 
 # record contents of %INC - makes sure there are no extra deps slipping into
 # Opt::Dep.
@@ -20,7 +20,7 @@ ok ( (! grep { $_ =~ m|DBIx/Class| } @$inc_before ), 'Nothing DBIC related is ye
 # to build the optional requirements
 BEGIN {
   $ENV{DBICTEST_PG_DSN} = '1';
-  $ENV{DBICTEST_ORA_DSN} = undef;
+  delete $ENV{DBICTEST_ORA_DSN};
 }
 
 use_ok 'DBIx::Class::Optional::Dependencies';
@@ -119,7 +119,6 @@ is_deeply(
 is_deeply(
   DBIx::Class::Optional::Dependencies->req_list_for('test_rdbms_pg'),
   {
-    'Sys::SigAction' => '0',
     'DBD::Pg'        => '2.009002',
   }, 'optional dependencies for testing Postgres with ENV var ok');