1
eval {require DBI; require DBD::mysql;};
2
if ($@ || !$ENV{'APACHE_SESSION_MAINTAINER'}) {
7
use Apache::Session::Store::MySQL;
14
my $foo = new Apache::Session::Store::MySQL;
4
use File::Temp qw[tempdir];
7
plan skip_all => "Optional modules (DBD::mysql, DBI) not installed"
12
plan skip_all => "Not running RDBM tests without APACHE_SESSION_MAINTAINER=1"
13
unless $ENV{APACHE_SESSION_MAINTAINER};
16
my $tempdir = tempdir( DIR => '.', CLEANUP => 1 );
21
my $package = 'Apache::Session::Store::MySQL';
24
my $foo = $package->new;
26
isa_ok $foo, $package;