MDL-25337 fixed invalid config test in enrol course sync, credit goes to Nick Thompson