CURL Config
Done:
- Fixed an issue where the REST API wasn’t using the correct database. Issue identified when doing PHP unit testing on a secondary database
Note:
- Implemented for PHPUnit testing in AFES (https://git.customd.com/afes/donation-portal/merge_requests/238)
Test:
- The easiest way to test would be to jump into the AFES project
- Switch the ZON Core to this branch
- Delete
site ▸ application ▸ modules ▸ api ▸ config ▸ rest.php
as this will then revert back to the ZON version - Run
grunt test:app:run
in terminal and confirm it runs and returns a successful result.