projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f86fc8
)
Ue self->{dbname} if available.
author
Greg Sabino Mullane
<
[email protected]
>
Wed, 22 Apr 2009 20:33:04 +0000
(16:33 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Wed, 22 Apr 2009 20:33:04 +0000
(16:33 -0400)
t/CP_Testing.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/CP_Testing.pm
b/t/CP_Testing.pm
index e387220c75d17b53e661174b1d7b0f89c62b61a3..d617796b249b01b6d3b256d0c00c7e2a99aaa51f 100644
(file)
--- a/
t/CP_Testing.pm
+++ b/
t/CP_Testing.pm
@@
-34,7
+34,7
@@
sub test_database_handle {
my $self = shift;
my $arg = shift || {};
- $arg->{dbname} ||= 'postgres';
+ $arg->{dbname} ||=
$self->{dbname} ||
'postgres';
ref $arg eq 'HASH' or die qq{Must pass a hashref (or nothing) to test_database_handle\n};