Removed test_per_queue_staff_permission assertion, report_index no longer returns unassigned_tickets

This commit is contained in:
Garret Wassermann 2016-10-31 02:06:49 -04:00
parent 26f4987726
commit c74208325b

View File

@ -132,11 +132,6 @@ class PerQueueStaffMembershipTestCase(TestCase):
# Superuser # Superuser
self.client.login(username='superuser', password='superuser') self.client.login(username='superuser', password='superuser')
response = self.client.get(reverse('helpdesk:report_index')) response = self.client.get(reverse('helpdesk:report_index'))
self.assertEqual(
len(response.context['unassigned_tickets']),
3,
'Unassigned tickets were limited by queue membership for a superuser'
)
self.assertEqual( self.assertEqual(
len(response.context['dash_tickets']), len(response.context['dash_tickets']),
2, 2,