MDL-44862 postgres: tests to support socket & port
commitdd693b76faffb8e97cfcb2bd96b89583f81b5e11
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 30 Mar 2014 20:32:25 +0000 (30 22:32 +0200)
committerPetr Škoda <commits@skodak.org>
Mon, 31 Mar 2014 01:30:27 +0000 (31 09:30 +0800)
treeb10d5acaa6b1cf64aa090cc1dde2c655217ceacc
parent64b18f75b96700bbbc58ff2e8f10fc3db6da9f73
MDL-44862 postgres: tests to support socket & port

Both the database auth and enrol plugins use ADOdb
to perform connections. Socket and port are allowed
there if passed as "socket:port", so, when both are
configured in CFG, we pass them that way. Else
ADOdb defaults to standard port (5432).
auth/db/tests/db_test.php
enrol/database/tests/sync_test.php