MDL-44862 postgres: tests to support socket & port
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 30 Mar 2014 20:32:25 +0000 (22:32 +0200)
committerPetr Škoda <commits@skodak.org>
Mon, 31 Mar 2014 01:28:57 +0000 (09:28 +0800)
commit6576413e4838288b348f3032659028172da6af4b
tree00f9113aeca040c6040aaa097f217c5249dca0fa
parent96255f472ceab416d687e40d0a84d50835ba6f86
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