@@ -, +, @@ for C4::Installer --- t/Installer.t | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) --- a/t/Installer.t +++ a/t/Installer.t @@ -13,11 +13,12 @@ BEGIN { use_ok('C4::Installer'); } +my $self; ok ( my $installer = C4::Installer->new(), 'Testing NewInstaller' ); ok ( my $class = {shift}, 'Testing Shift' ); -ok ( my $self->{'dbname'} = C4::Context->config("database"), 'Testing DbName' ); -ok ( my $self->{'dbms'} = C4::Context->config("db_scheme") ? C4::Context->config("db_scheme") : "mysql", 'Testing DbScheme' ); -ok ( my $self->{'hostname'} = C4::Context->config("hostname"), 'Testing Hostname' ); -ok ( my $self->{'port'} = C4::Context->config("port"), 'Testing Port' ); -ok ( my $self->{'user'} = C4::Context->config("user"), 'Testing User' ); -ok ( my $self->{'password'} = C4::Context->config("pass"), 'Testing Password' ); +ok ( $self->{'dbname'} = C4::Context->config("database"), 'Testing DbName' ); +ok ( $self->{'dbms'} = C4::Context->config("db_scheme") ? C4::Context->config("db_scheme") : "mysql", 'Testing DbScheme' ); +ok ( $self->{'hostname'} = C4::Context->config("hostname"), 'Testing Hostname' ); +ok ( $self->{'port'} = C4::Context->config("port"), 'Testing Port' ); +ok ( $self->{'user'} = C4::Context->config("user"), 'Testing User' ); +ok ( $self->{'password'} = C4::Context->config("pass"), 'Testing Password' ); --