Added event to seed data to facilitate testing. Changed namespace of exception handling middleware

This commit is contained in:
Philip Dimitratos 2017-11-01 10:41:10 -07:00
Родитель f71a33b2cd
Коммит db09dfd8fd
3 изменённых файлов: 11 добавлений и 3 удалений

2
domain

@ -1 +1 @@
Subproject commit 8ffff24dd81e4318d4eb532707e9fa71b8d60288
Subproject commit 0fd38f2421489dcf7acddbe593aef08f0a393402

Просмотреть файл

@ -99,7 +99,15 @@ namespace Sia.Data.Incidents
thirdTestTicket
},
Title = "Loss of [REDACTED] Connectivity in [REDACTED]",
Events = new List<Event>(),
Events = new List<Event>()
{
new Event
{
EventTypeId = 1,
Occurred = new DateTime(1975, 5, 5),
EventFired = new DateTime(1976, 6, 6)
}
},
Engagements = new List<Engagement>
{
new Engagement

Просмотреть файл

@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sia.Gateway.Middleware;
using Sia.Shared.Middleware;
using System;
using System.Threading.Tasks;