improvements

This commit is contained in:
2025-08-04 12:26:52 -07:00
parent e1b7da3dbe
commit 3fa43432d5
2 changed files with 12 additions and 8 deletions

View File

@@ -34,10 +34,10 @@ class TestIMAPRoutes:
response = client.post('/api/imap/test', data={
'server': 'test.com',
'port': '993',
'username': 'test@test.com',
'password': 'testpass',
'use_ssl': 'on'
'port': '5153',
'username': 'user1@example.com',
'password': 'password1',
'use_ssl': 'off'
})
assert response.status_code == 200
@@ -60,4 +60,4 @@ class TestIMAPRoutes:
response = client.post('/api/imap/sync')
# Should fail without real IMAP server but return proper response
assert response.status_code in [200, 400]
assert response.status_code in [200, 400]