mirror of
https://github.com/langgenius/dify.git
synced 2026-06-08 09:27:39 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -11596,6 +11596,7 @@ Request payload for bulk downloading documents as a zip archive.
|
||||
| code | string | | Yes |
|
||||
| email | string | | Yes |
|
||||
| language | | | No |
|
||||
| timezone | | | No |
|
||||
| token | string | | Yes |
|
||||
|
||||
#### EmailPayload
|
||||
@ -11611,6 +11612,7 @@ Request payload for bulk downloading documents as a zip archive.
|
||||
| ---- | ---- | ----------- | -------- |
|
||||
| new_password | string | | Yes |
|
||||
| password_confirm | string | | Yes |
|
||||
| timezone | | | No |
|
||||
| token | string | | Yes |
|
||||
|
||||
#### EmailRegisterSendPayload
|
||||
|
||||
@ -119,9 +119,7 @@ class TestOAuthLogin:
|
||||
with app.test_request_context("/auth/oauth/github?timezone=Asia/Shanghai"):
|
||||
resource.get("github")
|
||||
|
||||
mock_oauth_provider.get_authorization_url.assert_called_once_with(
|
||||
invite_token=None, timezone="Asia/Shanghai"
|
||||
)
|
||||
mock_oauth_provider.get_authorization_url.assert_called_once_with(invite_token=None, timezone="Asia/Shanghai")
|
||||
mock_redirect.assert_called_once_with("https://github.com/login/oauth/authorize?...")
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user