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:
6b765c8
)
Quick stub to show port when testing. Always 5432 for now (with a custom socket dir)
author
Greg Sabino Mullane
<
[email protected]
>
Thu, 12 Jun 2014 21:49:51 +0000
(17:49 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Thu, 12 Jun 2014 21:49:51 +0000
(17:49 -0400)
t/CP_Testing.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/CP_Testing.pm
b/t/CP_Testing.pm
index db4dd852bd2b4f4d3ccc19043333202da72f609a..28ff60b3f6e08f9c6bb096b3cceacebc2510a8cb 100644
(file)
--- a/
t/CP_Testing.pm
+++ b/
t/CP_Testing.pm
@@
-478,6
+478,11
@@
sub get_host {
return $self->{shorthost} || $self->{dbhost};
}
+sub get_port {
+ my $self = shift;
+ return 5432;
+}
+
sub get_shorthost {
my $self = shift;
return $self->{shorthost};