Skip to content
Permalink
Browse files

Skip tests until Approvals supports .net core.

  • Loading branch information...
niemyjski committed Oct 8, 2017
1 parent 26cf3cb commit b16bb83d063245b01ab0c220f09eb2e7a1df2f96
@@ -19,8 +19,10 @@ public class SummaryDataTests : TestBase {
_formatter = GetService<FormattingPluginManager>();
}

#if DEBUG
[Theory]
[MemberData(nameof(Events))]
#endif
public void EventSummaryData(string path) {
var settings = GetService<JsonSerializerSettings>();
settings.Formatting = Formatting.Indented;
@@ -41,8 +43,10 @@ public class SummaryDataTests : TestBase {
ApprovalsUtility.VerifyFile(Path.ChangeExtension(path, "summary.json"), JsonConvert.SerializeObject(summary, settings));
}

#if DEBUG
[Theory]
[MemberData(nameof(Stacks))]
#endif
public void StackSummaryData(string path) {
var settings = GetService<JsonSerializerSettings>();
settings.Formatting = Formatting.Indented;
@@ -23,8 +23,10 @@ public class WebHookDataTests : TestBase {
_formatter = GetService<FormattingPluginManager>();
}

#if DEBUG
[Theory]
[MemberData(nameof(WebHookData))]
#endif
public async Task CreateFromEventAsync(Version version, bool expectData) {
var settings = GetService<JsonSerializerSettings>();
settings.Formatting = Formatting.Indented;
@@ -37,8 +39,10 @@ public class WebHookDataTests : TestBase {
}
}

#if DEBUG
[Theory]
[MemberData(nameof(WebHookData))]
#endif
public async Task CanCreateFromStackAsync(Version version, bool expectData) {
var settings = GetService<JsonSerializerSettings>();
settings.Formatting = Formatting.Indented;

0 comments on commit b16bb83

Please sign in to comment.
You can’t perform that action at this time.