Tests for external API in 4.2 are failing with the following error:
"PHP Fatal error: Uncaught coding_exception: Coding error detected, it must be fixed by a programmer: When including this file for a unit test, the test must be run in an isolated process. See the PHPUnit @runInSeparateProcess and @runTestsInSeparateProcesses annotations"
Tests for external API in 4.2 are failing with the following error:
"PHP Fatal error: Uncaught coding_exception: Coding error detected, it must be fixed by a programmer: When including this file for a unit test, the test must be run in an isolated process. See the PHPUnit @runInSeparateProcess and @runTestsInSeparateProcesses annotations"
The change is documented here:
https://moodledev.io/docs/4.2/devupdate
@runInSeparateProcess should be used in order for this to work properly.