Subject: | Warnings from Test::PostgreSQL |
Test::PostgreSQL has deprecated initdb_args and postmaster_args constructor args in lieu of extra_initdb_args and extra_postmaster_args and it throws warnings.
I think this patch should fix things:
--- a/lib/Test/DBIx/Class/SchemaManager/Trait/Testpostgresql.pm
+++ b/lib/Test/DBIx/Class/SchemaManager/Trait/Testpostgresql.pm
@@ -26,8 +26,8 @@ package Test::DBIx::Class::SchemaManager::Trait::Testpostgresql; {
}
my %config = (
- initdb_args => $Test::PostgreSQL::Defaults{initdb_args} ."",
- postmaster_args => $Test::PostgreSQL::Defaults{postmaster_args},
+ extra_initdb_args => $Test::PostgreSQL::Defaults{initdb_args} ."",
+ extra_postmaster_args => $Test::PostgreSQL::Defaults{postmaster_args},
);
$config{base_dir} = $self->base_dir if $self->base_dir;