Skip to content

Commit

Permalink
- updated fixtures for corrupt message config
Browse files Browse the repository at this point in the history
  • Loading branch information
eben-roux committed Dec 9, 2018
1 parent 143237d commit ffb0973
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ protected ServiceBusSection GetServiceBusSection(string file)
{
return ConfigurationSectionProvider.OpenFile<ServiceBusSection>("shuttle", "serviceBus",
Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
string.Format(@".\ServiceBusSection\files\{0}", file)));
$@".\ServiceBusSection\files\{file}"));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public void Should_be_able_to_load_shared_configuration(string file)
Assert.IsNotNull(section);

Assert.IsTrue(section.RemoveMessagesNotHandled);
Assert.IsTrue(section.RemoveCorruptMessages);
Assert.AreEqual("GZip", section.CompressionAlgorithm);
Assert.AreEqual("3DES", section.EncryptionAlgorithm);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<shuttle>
<serviceBus
removeMessagesNotHandled="true"
removeCorruptMessages="true"
compressionAlgorithm="GZip"
encryptionAlgorithm="3DES" />
</shuttle>
Expand Down
1 change: 1 addition & 0 deletions Shuttle.Esb.Tests/ServiceBusSection/files/Shared.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

<serviceBus
removeMessagesNotHandled="true"
removeCorruptMessages="true"
compressionAlgorithm="GZip"
encryptionAlgorithm="3DES" />
</configuration>

0 comments on commit ffb0973

Please sign in to comment.