Example #1
0
        public void GetAllowedQueuesByUserId()
        {
            var allowedQueues = _userQueryService.GetAllowedQueues(_user.Id);

            allowedQueues.Should().NotBeEmpty();
            allowedQueues.Contains(QueueType.Incident).Should().BeTrue();
            allowedQueues.Contains(QueueType.Arrest).Should().BeTrue();
            allowedQueues.Contains(QueueType.Case).Should().BeTrue();
            allowedQueues.Contains(QueueType.CallForService).Should().BeTrue();
            allowedQueues.Contains(QueueType.FieldInterview).Should().BeTrue();
            allowedQueues.Contains(QueueType.Citation).Should().BeTrue();
            allowedQueues.Contains(QueueType.MyReports).Should().BeTrue();
            allowedQueues.Contains(QueueType.InProgress).Should().BeTrue();
            allowedQueues.Contains(QueueType.Approval).Should().BeTrue();
            allowedQueues.Contains(QueueType.ReportAdministration).Should().BeTrue();
        }