@girish Weird... I only see my LDAP changes in there. Did I actually nail it and didn't notice or did you fix something? Not that it really matters. I'm just curious :^)
Whoops I had the full URL and the port. Double ports. Thanks @girish !
Edit: Also here are some resources for tests
https://docs.moodle.org/dev/Running_acceptance_test
https://docs.moodle.org/dev/PHPUnit#Initialisation_of_test_environment