17 |
$Strix::debug = 1 if @ARGV; |
$Strix::debug = 1 if @ARGV; |
18 |
my $debug = $Strix::debug; |
my $debug = $Strix::debug; |
19 |
|
|
20 |
my $site = 'os-test0604-zg'; |
my $instance = 'os-test0604-zg'; |
21 |
$site = 'new'; |
$instance = 'new'; |
22 |
|
|
23 |
ok( my $dbh = Strix->dbh( $site ), 'dbh' ); |
ok( my $dbh = Strix->dbh( $instance ), 'dbh' ); |
24 |
isa_ok( $dbh, 'DBI::db' ); |
isa_ok( $dbh, 'DBI::db' ); |
25 |
|
|
26 |
ok( my $strix = Strix->new({ site => $site }), 'new' ); |
ok( my $strix = Strix->new({ instance => $instance }), 'new' ); |
27 |
isa_ok( $strix, 'Strix' ); |
isa_ok( $strix, 'Strix' ); |
28 |
|
|
29 |
my $url = '/'; |
my $url = '/'; |