Commit Graph

288 Commits

Author SHA1 Message Date
db7ded2573 Fix spelling error 2025-04-11 11:31:31 +01:00
4aabafac3b Add unit tests for attachments via staff update to ticket 2025-04-09 09:28:06 +01:00
687467ea27 Formatting fix 2025-04-09 09:27:31 +01:00
7288845e92 Add required POST params to tests - update uses better form validation. 2025-04-09 07:36:13 +01:00
7283a9bcd9 Update helpdesk/tests/test_get_email.py
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
2025-04-03 22:13:28 +01:00
4ac4650a70 Formatting fix 2025-04-02 10:42:15 +01:00
21b0be1b36 Tests for emails with attachment and no content part or attachment and
empty content part.
2025-04-02 10:16:02 +01:00
c68b3d933d Support optional passing in of body text. 2025-04-02 10:14:26 +01:00
75bd375c6b Fix formatting errors after doing app wide instead of only the heldesk
folder
2025-04-01 11:09:34 +01:00
84b57f5c60 Change assert to use the IsNone/IsNotNone shortcut 2025-03-31 13:09:37 +01:00
432fe3c5e7 Fix linting errors 2025-03-29 11:58:32 +00:00
3683dd6e0a remove unused variables 2025-03-24 09:43:19 -10:00
091670179b run ruff formatter 2025-03-22 15:29:19 -10:00
b66b2a570e Test now have last_followup None not empty string 2025-03-22 00:11:15 +00:00
acccec47a3 check if asserEqual is backward compatible 2025-03-18 23:04:42 +00:00
57fe30ca00 test fix: the field last_followup now defaults to an empty string instead of none 2025-03-18 19:38:18 +00:00
8233c0fc45 fx lib error and unit test query add followup 2025-03-12 03:24:02 +00:00
81340d1049 add last_followup to unit tests 2025-03-12 03:13:23 +00:00
4ca1ec24dc Fix isnull test 2025-03-06 02:39:49 +00:00
9ab10b93e1 Removing Test Client 2024-12-06 10:11:29 +00:00
93f6123545 Reverting to TestCase client 2024-12-06 10:07:08 +00:00
af2fac038c Update votes with POST method and CSRF token 2024-12-06 09:19:06 +00:00
8d2b09bb11 Update kb vote function 2024-12-05 09:47:23 +00:00
8f9d385e10 Merge branch 'main' into view_protectors 2024-04-23 21:29:38 +02:00
62ef86a047 Settings assertion values in hours 2024-04-09 13:45:41 +00:00
aa5e2d0c67 Fixed test comment 2024-04-09 13:33:20 +00:00
d1af580483 Remove queues exclusion at the end of test 2024-04-09 13:32:11 +00:00
6e845f6351 Adding test for multiple exclusion queues through follow-ups 2024-04-09 13:27:42 +00:00
e372f4447b Adding test_update_ticket_queue test 2024-04-09 12:18:43 +00:00
e439acd626 Removed helpdesk_settings USE_TZ 2024-04-08 08:41:27 +00:00
09f504fa3e Removing unnecessary followup saves 2024-04-08 08:37:00 +00:00
210b7b13f8 Removing unused test Client 2024-04-08 08:31:58 +00:00
b99514f585 Removed useless USE_TZ 2024-03-27 16:27:32 +00:00
f5bff3af4e Clearing some settings at the end of test 2024-03-27 16:22:14 +00:00
57ad29f46b Removed useless setting 2024-03-27 16:20:22 +00:00
c16d189104 Testing queues exclusion 2024-03-27 16:19:33 +00:00
5e0df47a4f Adding status exclusion test 2024-03-27 16:15:15 +00:00
e3a745f81a Testing holidays 2024-03-27 16:04:30 +00:00
1d8fc2ad42 Opening hours tests and bug fix 2024-03-27 15:56:55 +00:00
3be5bbed44 Removed begining of next test 2024-03-27 14:32:56 +00:00
f0fb8039ef Adding USE_TZ = True to comply with 32bits tests 2024-03-27 14:30:56 +00:00
d6b37f1c11 Updating time_spent test with multiple follow-ups at multiple time intervals 2024-03-27 14:20:34 +00:00
cf81e0d452 Update simple follow-up time spent calculation 2024-03-26 11:54:23 +00:00
0be6282bfe Basic auto time_spent calculation test 2024-02-27 14:49:18 +00:00
9a353bf4a5 You can now turn off file attachment filtering, fixes #1162 2024-02-26 19:34:35 +01:00
b0977a44d0 Remove debug output code from tests 2024-01-04 00:16:47 +00:00
7aa7f0eca2 Fix custom field sending in new ticket webhook 2023-12-27 19:39:12 +00:00
27f295098c Improve webhook env var handling & docs 2023-12-04 23:37:31 +00:00
e708281dcd Implement webhooks. Fixes #264 2023-12-02 20:57:21 +00:00
9526ca9820 Do the full update ticket flow when followups are posted from the API 2023-11-30 11:40:11 +01:00