remove unneeded inject in `RegistrationResourceFunctionalTest`