mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
Merge remote-tracking branch 'origin/main' into feat/trigger
This commit is contained in:
@ -893,7 +893,7 @@ class TestRegisterService:
|
||||
mock_dify_setup.return_value = mock_dify_setup_instance
|
||||
|
||||
# Execute test
|
||||
RegisterService.setup("admin@example.com", "Admin User", "password123", "192.168.1.1")
|
||||
RegisterService.setup("admin@example.com", "Admin User", "password123", "192.168.1.1", "en-US")
|
||||
|
||||
# Verify results
|
||||
mock_create_account.assert_called_once_with(
|
||||
@ -925,6 +925,7 @@ class TestRegisterService:
|
||||
"Admin User",
|
||||
"password123",
|
||||
"192.168.1.1",
|
||||
"en-US",
|
||||
)
|
||||
|
||||
# Verify rollback operations were called
|
||||
|
||||
Reference in New Issue
Block a user