From 94dc3557cf3f50e7e3187a19f3cc46990fadd7e7 Mon Sep 17 00:00:00 2001 From: John Simons Date: Tue, 15 Jul 2014 15:28:38 +1000 Subject: [PATCH] Acceptance Tests were not using Sql Transport :( --- .../NServiceBus.SqlServer.AcceptanceTests.csproj | 8 +++++++- ...ge_later.cs => When_sharing_the_receive_connection.cs} | 3 --- 2 files changed, 7 insertions(+), 4 deletions(-) rename src/NServiceBus.SqlServer.AcceptanceTests/{When_handling_current_message_later.cs => When_sharing_the_receive_connection.cs} (96%) diff --git a/src/NServiceBus.SqlServer.AcceptanceTests/NServiceBus.SqlServer.AcceptanceTests.csproj b/src/NServiceBus.SqlServer.AcceptanceTests/NServiceBus.SqlServer.AcceptanceTests.csproj index 644b5e41c..88e60809d 100644 --- a/src/NServiceBus.SqlServer.AcceptanceTests/NServiceBus.SqlServer.AcceptanceTests.csproj +++ b/src/NServiceBus.SqlServer.AcceptanceTests/NServiceBus.SqlServer.AcceptanceTests.csproj @@ -186,8 +186,14 @@ - + + + + {fa1193bf-325c-4201-bb78-484032e09809} + NServiceBus.SqlServer + + \ No newline at end of file diff --git a/src/NServiceBus.SqlServer.AcceptanceTests/When_handling_current_message_later.cs b/src/NServiceBus.SqlServer.AcceptanceTests/When_sharing_the_receive_connection.cs similarity index 96% rename from src/NServiceBus.SqlServer.AcceptanceTests/When_handling_current_message_later.cs rename to src/NServiceBus.SqlServer.AcceptanceTests/When_sharing_the_receive_connection.cs index 8882904fc..a80385c2a 100644 --- a/src/NServiceBus.SqlServer.AcceptanceTests/When_handling_current_message_later.cs +++ b/src/NServiceBus.SqlServer.AcceptanceTests/When_sharing_the_receive_connection.cs @@ -21,7 +21,6 @@ public void Should_reuse_it_for_sends_to_the_same_db() Assert.False(context.IsDtcTransaction); } - public class Context : ScenarioContext { public bool Done { get; set; } @@ -41,7 +40,6 @@ public ConnectionSharingEndpoint() EndpointSetup(); } - class FirstHandler : IHandleMessages { public Context Context { get; set; } @@ -58,7 +56,6 @@ public void Handle(StartMessage message) class SecondHandler : IHandleMessages { public Context Context { get; set; } - public IBus Bus { get; set; } public void Handle(AnotherMessage message) {