partition tickets by event

This commit is contained in:
j3d1 2024-11-13 23:51:54 +01:00
parent 2c609427ec
commit 227fd4292c
3 changed files with 9 additions and 9 deletions

View file

@ -230,7 +230,7 @@ class IssueApiTest(TestCase):
self.assertEqual(file2.hash, response.json()[0]['timeline'][1]['attachments'][1]['hash'])
def test_manual_creation(self):
response = self.client.post('/api/2/tickets/manual/',
response = self.client.post('/api/2/evt/tickets/manual/',
{'name': 'test issue', 'sender': 'test', 'recipient': 'test', 'body': 'test'},
content_type='application/json')
self.assertEqual(response.status_code, 201)