Skip to content

PHP Unit - Testing Database

Phil Taylor requested to merge feature/phpunit_test_database into master

Done:

  • If the API request has been triggered by PHPUnit, load the phpunit database in favour of the live database.

Note:

Test:

  1. Log into the admin area and confirm it works as expected e.g. displaying users in the account area using the normal database
Edited by Phil Taylor

Merge request reports