Fix globals->repo && params tests