Browse Source

update unit tests.

master
Savorboard 6 years ago
parent
commit
57a7574073
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      test/DotNetCore.CAP.SqlServer.Test/DatabaseTestHost.cs

+ 2
- 1
test/DotNetCore.CAP.SqlServer.Test/DatabaseTestHost.cs View File

@@ -25,7 +25,8 @@ namespace DotNetCore.CAP.SqlServer.Test
{ {
ConnectionString = ConnectionUtil.GetConnectionString() ConnectionString = ConnectionUtil.GetConnectionString()
}; };
DiagnosticProcessorObserver = new Mock<DiagnosticProcessorObserver>().Object;

DiagnosticProcessorObserver = new DiagnosticProcessorObserver(new Mock<IDispatcher>().Object);


InitializeDatabase(); InitializeDatabase();
} }


Loading…
Cancel
Save