Issue #990218 by Lendude, sun, tim.plunkett, mr.baileys, joachim: Machine name...
Issue #990218 by Lendude, sun, tim.plunkett, mr.baileys, joachim: Machine name field throws notices if before source field
(cherry picked from commit 25718d36)
thrownew\LogicException(sprintf('The machine name element "%s" is defined before the source element "%s", it must be defined after or the source element must specify an id.',$element_parents,$source_parents));
* Tests the order of the machine name field and the source.
*/
publicfunctiontestMachineNameOrderException(){
$this->expectException(\LogicException::class);
$this->expectErrorMessage('The machine name element "test_machine_name" is defined before the source element "test_source", it must be defined after or the source element must specify an id.');