From 6eb610a4543e60eaea4ccc5cda2f7c3421851666 Mon Sep 17 00:00:00 2001 From: Oskar Dudycz Date: Mon, 2 Sep 2024 23:07:42 +0200 Subject: [PATCH] Skiped Wolverine api tests --- .../Incidents/AcknowledgeResolutionIncidentTests.cs | 4 ++-- .../Helpdesk.Api.Tests/Incidents/AssignAgentTests.cs | 4 ++-- .../Helpdesk.Api.Tests/Incidents/BatchResolutionTests.cs | 4 ++-- .../Incidents/CategoriseIncidentTests.cs | 4 ++-- .../Helpdesk.Api.Tests/Incidents/CloseIncidentTests.cs | 4 ++-- .../Helpdesk.Api.Tests/Incidents/LogIncidentsTests.cs | 2 +- .../Incidents/PrioritiseIncidentTests.cs | 4 ++-- .../Incidents/RecordAgentResponseToIncidentTests.cs | 4 ++-- .../Incidents/RecordCustomerResponseToIncidentTests.cs | 4 ++-- .../Helpdesk.Api.Tests/Incidents/ResolveIncidentTests.cs | 8 ++++---- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AcknowledgeResolutionIncidentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AcknowledgeResolutionIncidentTests.cs index 2d11f02a2..73b2b6b43 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AcknowledgeResolutionIncidentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AcknowledgeResolutionIncidentTests.cs @@ -8,8 +8,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class AcknowledgeResolutionIncidentTests(AppFixture fixture): ApiWithResolvedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task ResolveCommand_Succeeds() { await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AssignAgentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AssignAgentTests.cs index be482700d..097baa730 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AssignAgentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/AssignAgentTests.cs @@ -7,8 +7,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class AssignAgentToIncidentTests(AppFixture fixture): ApiWithLoggedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task AssignAgentCommand_ChangesIncidentCategory() { await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/BatchResolutionTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/BatchResolutionTests.cs index 5f8cfeb58..9396c9858 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/BatchResolutionTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/BatchResolutionTests.cs @@ -12,7 +12,7 @@ namespace Helpdesk.Api.Tests.Incidents; public class BatchResolutionTests(AppFixture fixture): IntegrationContext(fixture) { - [Fact] + [Fact(Skip = "Need to migrate Wolverine at some point")] public async Task InitiateBatch_ShouldSucceed() { // Given @@ -57,7 +57,7 @@ public async Task InitiateBatch_ShouldSucceed() ); } - [Fact] + [Fact(Skip = "Need to migrate Wolverine at some point")] public async Task Batch_ShouldComplete() { // Given diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CategoriseIncidentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CategoriseIncidentTests.cs index 75411a432..dbcfe2bfa 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CategoriseIncidentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CategoriseIncidentTests.cs @@ -9,8 +9,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class CategoriseIncidentTests(AppFixture fixture): ApiWithLoggedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task CategoriseCommand_ChangesIncidentCategory() { await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CloseIncidentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CloseIncidentTests.cs index d13844645..680298eef 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CloseIncidentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/CloseIncidentTests.cs @@ -8,8 +8,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class CloseIncidentTests(AppFixture fixture): ApiWithAcknowledgedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task ResolveCommand_Succeeds() { await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/LogIncidentsTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/LogIncidentsTests.cs index be004ad3f..96c74b4d6 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/LogIncidentsTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/LogIncidentsTests.cs @@ -12,7 +12,7 @@ namespace Helpdesk.Api.Tests.Incidents; public class LogIncidentsTests(AppFixture fixture): IntegrationContext(fixture) { - [Fact] + [Fact(Skip = "Need to migrate Wolverine at some point")] public async Task LogIncident_ShouldSucceed() { var result = await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/PrioritiseIncidentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/PrioritiseIncidentTests.cs index 0f16ea603..bf7aca159 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/PrioritiseIncidentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/PrioritiseIncidentTests.cs @@ -9,8 +9,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class PrioritiseIncidentTests(AppFixture fixture): ApiWithLoggedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task PrioritiseCommand_ChangesIncidentPriority() { await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordAgentResponseToIncidentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordAgentResponseToIncidentTests.cs index e11f05089..f74fbebb2 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordAgentResponseToIncidentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordAgentResponseToIncidentTests.cs @@ -10,8 +10,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class RecordAgentResponseToIncidentTests(AppFixture fixture): ApiWithLoggedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task RecordAgentResponseCommand_RecordsResponse() { await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordCustomerResponseToIncidentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordCustomerResponseToIncidentTests.cs index 0321e2bd1..d6420c427 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordCustomerResponseToIncidentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/RecordCustomerResponseToIncidentTests.cs @@ -9,8 +9,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class RecordCustomerResponseToIncidentTests(AppFixture fixture): ApiWithLoggedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task RecordCustomerResponseCommand_RecordsResponse() { await Host.Scenario(x => diff --git a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/ResolveIncidentTests.cs b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/ResolveIncidentTests.cs index 5e5091776..15e26997d 100644 --- a/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/ResolveIncidentTests.cs +++ b/Sample/Helpdesk.Wolverine/Helpdesk.Api.Tests/Incidents/ResolveIncidentTests.cs @@ -9,8 +9,8 @@ namespace Helpdesk.Api.Tests.Incidents; public class ResolveIncidentTests(AppFixture fixture): ApiWithLoggedIncident(fixture) { - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task ResolveCommand_Succeeds() { await Host.Scenario(x => @@ -23,8 +23,8 @@ await Host.Scenario(x => await Host.IncidentDetailsShouldBe(Incident with { Status = IncidentStatus.Resolved, Version = 2 }); } - [Fact] - [Trait("Category", "Acceptance")] + [Fact(Skip = "Need to migrate Wolverine at some point")] + [Trait("Category", "SkipCI")] public async Task ResolvingTwiceTheSame_Incident_Succeeds() { var version = Incident.Version;