Skip to content

Commit

Permalink
Acceptance Tests were not using Sql Transport :(
Browse files Browse the repository at this point in the history
  • Loading branch information
John Simons committed Jul 15, 2014
1 parent 5350d4d commit 94dc355
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,14 @@
<Compile Include="App_Packages\NServiceBus.AcceptanceTests\Transactions\When_sending_a_message_from_a_non_transactional_endpoint_with_a_ambient_transaction_enabled.cs" />
<Compile Include="App_Packages\NServiceBus.AcceptanceTests\Transactions\When_sending_messages_within_an_ambient_transaction.cs" />
<Compile Include="App_Packages\NServiceBus.AcceptanceTests\Versioning\When_multiple_versions_of_a_message_is_published.cs" />
<Compile Include="When_handling_current_message_later.cs" />
<Compile Include="When_sharing_the_receive_connection.cs" />
<Compile Include="When_publishing_an_event_with_the_subscriber_scaled_out.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NServiceBus.SqlServer\NServiceBus.SqlServer.csproj">
<Project>{fa1193bf-325c-4201-bb78-484032e09809}</Project>
<Name>NServiceBus.SqlServer</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand All @@ -41,7 +40,6 @@ public ConnectionSharingEndpoint()
EndpointSetup<DefaultServer>();
}


class FirstHandler : IHandleMessages<StartMessage>
{
public Context Context { get; set; }
Expand All @@ -58,7 +56,6 @@ public void Handle(StartMessage message)
class SecondHandler : IHandleMessages<AnotherMessage>
{
public Context Context { get; set; }
public IBus Bus { get; set; }

public void Handle(AnotherMessage message)
{
Expand Down

0 comments on commit 94dc355

Please sign in to comment.