-
由 Mark Lapierre 创作于
Previously fabricate_or_use would only create a User instance with the provided username and password. This was fine when only those creds were needed (e.g., to sign on), but it's not enough in tests that need other user details, e.g., the user's name. This changes fabricate_or_use so that it fetches the user via the API, which provides access to the user's details.
由 Mark Lapierre 创作于Previously fabricate_or_use would only create a User instance with the provided username and password. This was fine when only those creds were needed (e.g., to sign on), but it's not enough in tests that need other user details, e.g., the user's name. This changes fabricate_or_use so that it fetches the user via the API, which provides access to the user's details.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。