Steps on how to setup a testing environment to run the API automated tests
Setting up a testing environment
Run composer clean:install in the elentra-1x-me directory to automate setting up the test environment.
Run composer test:api:clean in the elentra-1x-me directory to set up the test environment, and run the API tests afterwards.
Create test databases
DROP DATABASE IF EXISTS `test_elentra_me`;
DROP DATABASE IF EXISTS `test_elentra_auth` ;
DROP DATABASE IF EXISTS `test_elentra_me_clerkship`;
DROP DATABASE IF EXISTS `test_elentra_cbe`;
CREATE DATABASE IF NOT EXISTS `test_elentra_me`;
CREATE DATABASE IF NOT EXISTS `test_elentra_auth`;
CREATE DATABASE IF NOT EXISTS `test_elentra_me_clerkship`;
CREATE DATABASE IF NOT EXISTS `test_elentra_cbe`;
2. Run the ME setup utility to seed the initial ME data