diff --git a/src/API/AdventureWorksDemo.API/AdventureWorksDemo.API.csproj b/src/API/AdventureWorksDemo.API/AdventureWorksDemo.API.csproj
index 474672e..15747b4 100644
--- a/src/API/AdventureWorksDemo.API/AdventureWorksDemo.API.csproj
+++ b/src/API/AdventureWorksDemo.API/AdventureWorksDemo.API.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/src/API/AdventureWorksDemo.Common.Tests/AdventureWorksDemo.Common.Tests.csproj b/src/API/AdventureWorksDemo.Common.Tests/AdventureWorksDemo.Common.Tests.csproj
index d78c8d7..21aa0e3 100644
--- a/src/API/AdventureWorksDemo.Common.Tests/AdventureWorksDemo.Common.Tests.csproj
+++ b/src/API/AdventureWorksDemo.Common.Tests/AdventureWorksDemo.Common.Tests.csproj
@@ -17,11 +17,10 @@
-
+
-
diff --git a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/AdventureWorksDemo.Data.Tests.reqnroll.csproj b/src/API/AdventureWorksDemo.Data.Tests.reqnroll/AdventureWorksDemo.Data.Tests.reqnroll.csproj
index d60a679..4967cef 100644
--- a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/AdventureWorksDemo.Data.Tests.reqnroll.csproj
+++ b/src/API/AdventureWorksDemo.Data.Tests.reqnroll/AdventureWorksDemo.Data.Tests.reqnroll.csproj
@@ -21,11 +21,10 @@
-
+
-
diff --git a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/Features/Services/ProduceDescriptionService/ProductDescriptionServiceDeleteTests.feature b/src/API/AdventureWorksDemo.Data.Tests.reqnroll/Features/Services/ProduceDescriptionService/ProductDescriptionServiceDeleteTests.feature
index 76d9a05..6cec5c0 100644
--- a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/Features/Services/ProduceDescriptionService/ProductDescriptionServiceDeleteTests.feature
+++ b/src/API/AdventureWorksDemo.Data.Tests.reqnroll/Features/Services/ProduceDescriptionService/ProductDescriptionServiceDeleteTests.feature
@@ -18,10 +18,8 @@ Scenario: DeleteAsync12345
| AdventureWorksDemo.Data.Models.ServiceResult |
And the result is
| IsFailure | IsSuccess | Message |
- | True | False | Unable to find record to delete! |
-
-
- And the ServiceResult is of type 'System.Boolean' with the value
+ | True | False | Unable to find record to delete! |
+ And the result is of type 'System.Boolean' with the value
| Expected |
| False |
And the table 'SalesLT.ProductDescription' filtered by 'ProductDescriptionId > 1500' contains
diff --git a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/ImplicitUsings.cs b/src/API/AdventureWorksDemo.Data.Tests.reqnroll/ImplicitUsings.cs
index c8d54a2..1a1c2ae 100644
--- a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/ImplicitUsings.cs
+++ b/src/API/AdventureWorksDemo.Data.Tests.reqnroll/ImplicitUsings.cs
@@ -1,4 +1,3 @@
-global using FluentAssertions;
global using Microsoft.VisualStudio.TestTools.UnitTesting;
diff --git a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/StepDefinitions/ServiceResultStepDefinitions.cs b/src/API/AdventureWorksDemo.Data.Tests.reqnroll/StepDefinitions/ServiceResultStepDefinitions.cs
deleted file mode 100644
index c3d19f9..0000000
--- a/src/API/AdventureWorksDemo.Data.Tests.reqnroll/StepDefinitions/ServiceResultStepDefinitions.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-using AdventureWorksDemo.Common.Tests.Extensions;
-using AdventureWorksDemo.Data.Models;
-using AdventureWorksDemo.Data.Tests.reqnroll.Helpers;
-
-namespace AdventureWorksDemo.Data.Tests.reqnroll.StepDefinitions
-{
- [Binding]
- public class ServiceResultStepDefinitions
- {
- [Then("the ServiceResult is of type {string} with the value")]
- public void ThenTheServiceResultIsOfTypeWithTheValue(string expectedTypeName, DataTable dataTable)
- {
- var contextResult = (dynamic)Helper.ScenarioContexts.GetResult;
-
- // check type
- Type actualType = contextResult.Value.GetType();
- actualType.FullNameReadable().Should().Be(expectedTypeName);
- //
- //Check datatype
- if (dataTable.Rows.Count == 1 && !string.IsNullOrEmpty(dataTable.Rows.Single()["Expected"]))
- {
- var expectedValue = dataTable.Rows.Single()["Expected"];
- string actualValue = Convert.ToString(contextResult.Value);
- actualValue.Should().Be(expectedValue);
- }
- else
- throw new NotImplementedException();
- }
-
- [Then("the ServiceResult is of type {string} with the values")]
- public void ThenTheServiceResultIsOfTypeWithTheValues(string expectedTypeName, DataTable dataTable)
- {
- var contextResult = (dynamic)Helper.ScenarioContexts.GetResult;
-
- // check type
- Type actualType = contextResult.Value.GetType();
- actualType.FullNameReadable().Should().Be(expectedTypeName);
- //
- //Check datatype
- dataTable.Should().NotBeNull();
- //var debug = actualType.FullNameReadable();
- switch (actualType.FullNameReadable())
- {
- case "AdventureWorksDemo.Data.Models.ProductCategoryModel":
- dataTable.Should().Be((ProductCategoryModel)contextResult);
- break;
-
- default:
- break;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/FrontEnd/AdventureWorksDemo.MudBlazor/AdventureWorksDemo.MudBlazor.csproj b/src/FrontEnd/AdventureWorksDemo.MudBlazor/AdventureWorksDemo.MudBlazor.csproj
index 076480a..c1d1d88 100644
--- a/src/FrontEnd/AdventureWorksDemo.MudBlazor/AdventureWorksDemo.MudBlazor.csproj
+++ b/src/FrontEnd/AdventureWorksDemo.MudBlazor/AdventureWorksDemo.MudBlazor.csproj
@@ -8,7 +8,7 @@
-
+