Permalink
Browse files

Removed dependency from unit tests to actual azure settings file.

  • Loading branch information...
1 parent fde169e commit 16b997aa329dd1d14966f456ba434bfbb8359363 @kzu kzu committed Mar 21, 2012
@@ -72,6 +72,10 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
+ <Content Include="..\ConsoleCommandProcessor\Settings.Template.xml">
+ <Link>Settings.Template.xml</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
<Content Include="..\ConsoleCommandProcessor\Settings.xml">
<Link>Settings.xml</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
@@ -22,15 +22,15 @@ public class given_a_messaging_settings_file
[Fact]
public void when_read_from_file_then_succeeds()
{
- var settings = MessagingSettings.Read("Settings.xml");
+ var settings = MessagingSettings.Read("Settings.Template.xml");
Assert.NotNull(settings);
}
[Fact]
public void when_read_from_reader_then_succeeds()
{
- using (var reader = XmlReader.Create("Settings.xml"))
+ using (var reader = XmlReader.Create("Settings.Template.xml"))
{
var settings = MessagingSettings.Read(reader);

0 comments on commit 16b997a

Please sign in to comment.