projects
/
m6w6
/
pq-gateway
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
19590cf
)
support env for dsn; useful for running phpunit
author
Michael Wallner
<mike@php.net>
Sat, 31 Jan 2015 15:04:28 +0000
(16:04 +0100)
committer
Michael Wallner
<mike@php.net>
Sat, 31 Jan 2015 15:04:28 +0000
(16:04 +0100)
tests/setup.inc
patch
|
blob
|
history
diff --git
a/tests/setup.inc
b/tests/setup.inc
index fa7af13428ec71522b02d220dd6d81eb3ff0eb8e..9c7a93237a20cbf62f6b89fd9a716412f6ee63a9 100644
(file)
--- a/
tests/setup.inc
+++ b/
tests/setup.inc
@@
-3,7
+3,7
@@
ini_set("date.timezone", "UTC");
ini_set("error_reporting", E_ALL);
-
const PQ_TEST_DSN = ""
;
+
define("PQ_TEST_DSN", getenv("PQ_TEST_DSN"))
;
const PQ_TEST_SETUP_SQL = <<<SQL
create extension if not exists hstore;