tests: replace the flat list of contexts with a hash
This way we can return more values without breaking callers.
This commit is contained in:
committed by
Cole Helbling
parent
26cfe624d5
commit
f08d0be1bd
@ -62,7 +62,10 @@ sub test_init {
|
||||
);
|
||||
$ENV{'HYDRA_DBI'} = $pgsql->dsn;
|
||||
system("hydra-init") == 0 or die;
|
||||
return ($dir, $pgsql);
|
||||
return (
|
||||
tmpdir => $dir,
|
||||
db => $pgsql
|
||||
);
|
||||
}
|
||||
|
||||
sub captureStdoutStderr {
|
||||
|
Reference in New Issue
Block a user