That way we make sure the request is finished before the test finishes. We were getting a failure in GitHub Actions because an unrelated test executed after this one had its locale set to Spanish (just for one test, though), and one possible explanation could be that a previous request which changed I18n.locale was still being executed.