View | Details | Raw Unified | Return to bug 11541
Collapse All | Expand All

(-)a/t/Installer.t (-7 / +7 lines)
Lines 13-23 BEGIN { Link Here
13
        use_ok('C4::Installer');
13
        use_ok('C4::Installer');
14
}
14
}
15
15
16
my $self;
16
ok ( my $installer = C4::Installer->new(), 'Testing NewInstaller' );
17
ok ( my $installer = C4::Installer->new(), 'Testing NewInstaller' );
17
ok ( my $class = {shift}, 'Testing Shift' );
18
ok ( my $class = {shift}, 'Testing Shift' );
18
ok ( my $self->{'dbname'} = C4::Context->config("database"), 'Testing DbName' );
19
ok ( $self->{'dbname'} = C4::Context->config("database"), 'Testing DbName' );
19
ok ( my $self->{'dbms'} = C4::Context->config("db_scheme") ? C4::Context->config("db_scheme") : "mysql", 'Testing DbScheme' );
20
ok ( $self->{'dbms'} = C4::Context->config("db_scheme") ? C4::Context->config("db_scheme") : "mysql", 'Testing DbScheme' );
20
ok ( my $self->{'hostname'} = C4::Context->config("hostname"), 'Testing Hostname' );
21
ok ( $self->{'hostname'} = C4::Context->config("hostname"), 'Testing Hostname' );
21
ok ( my	$self->{'port'} = C4::Context->config("port"), 'Testing Port' );
22
ok ( $self->{'port'} = C4::Context->config("port"), 'Testing Port' );
22
ok ( my	$self->{'user'} = C4::Context->config("user"), 'Testing User' );
23
ok ( $self->{'user'} = C4::Context->config("user"), 'Testing User' );
23
ok ( my $self->{'password'} = C4::Context->config("pass"), 'Testing Password' );
24
ok ( $self->{'password'} = C4::Context->config("pass"), 'Testing Password' );
24
- 

Return to bug 11541