diff --git a/.gitmodules b/.gitmodules index 86ccbe2..481eb61 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,3 +6,15 @@ path = dependencies/Connected.Framework url = https://git.tompit.com/Connected/Connected.Framework.git branch = develop +[submodule "dependencies/Connected"] + path = dependencies/Connected + url = https://git.tompit.com/Connected/Connected.git + branch = develop +[submodule "dependencies/Connected.Common"] + path = dependencies/Connected.Common + url = https://git.tompit.com/Connected/Connected.Common.git + branch = develop +[submodule "dependencies/Connected.UI"] + path = dependencies/Connected.UI + url = https://git.tompit.com/Connected/Connected.UI.git + branch = develop diff --git a/Connected.Common.Types.sln b/Connected.Common.Types.sln index 3351868..5f6a714 100644 --- a/Connected.Common.Types.sln +++ b/Connected.Common.Types.sln @@ -21,6 +21,22 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Dependencies", "Dependencie EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Components", "dependencies\Connected.Components\src\Connected.Components\Connected.Components.csproj", "{17EBBBC2-B4AF-4CE4-8F76-73C6E088B3E1}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Data", "dependencies\Connected.Framework\src\Connected.Data\Connected.Data.csproj", "{3D20C199-5CF0-45CA-B99F-AB1A4D9DB233}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Services", "dependencies\Connected.Framework\src\Connected.Services\Connected.Services.csproj", "{A3D978D2-21E1-4C45-A6BF-91302DFA65DE}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Runtime", "dependencies\Connected.Framework\src\Connected.Runtime\Connected.Runtime.csproj", "{9145B08A-8BC9-407E-9773-2086A1FD6958}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Client", "dependencies\Connected\src\Connected.Client\Connected.Client.csproj", "{ABF3C8B0-8884-4E12-8960-57FDB5CC16C1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Middleware", "dependencies\Connected.Framework\src\Connected.Middleware\Connected.Middleware.csproj", "{DDB3DE44-6D5C-447E-861A-5B7F53E84E3C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected", "dependencies\Connected\src\Connected\Connected.csproj", "{F4A4F947-5CE5-4DED-B884-B78E8DB3FD9B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Common.Model", "dependencies\Connected.Common\src\Connected.Common.Model\Connected.Common.Model.csproj", "{21195444-52F3-450D-A78E-6F0AF914B907}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.UI", "dependencies\Connected.UI\src\Connected.UI\Connected.UI.csproj", "{6125BA47-11C5-4F2C-9AE1-C61069CD95E2}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -55,6 +71,38 @@ Global {17EBBBC2-B4AF-4CE4-8F76-73C6E088B3E1}.Debug|Any CPU.Build.0 = Debug|Any CPU {17EBBBC2-B4AF-4CE4-8F76-73C6E088B3E1}.Release|Any CPU.ActiveCfg = Release|Any CPU {17EBBBC2-B4AF-4CE4-8F76-73C6E088B3E1}.Release|Any CPU.Build.0 = Release|Any CPU + {3D20C199-5CF0-45CA-B99F-AB1A4D9DB233}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3D20C199-5CF0-45CA-B99F-AB1A4D9DB233}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3D20C199-5CF0-45CA-B99F-AB1A4D9DB233}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3D20C199-5CF0-45CA-B99F-AB1A4D9DB233}.Release|Any CPU.Build.0 = Release|Any CPU + {A3D978D2-21E1-4C45-A6BF-91302DFA65DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A3D978D2-21E1-4C45-A6BF-91302DFA65DE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A3D978D2-21E1-4C45-A6BF-91302DFA65DE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A3D978D2-21E1-4C45-A6BF-91302DFA65DE}.Release|Any CPU.Build.0 = Release|Any CPU + {9145B08A-8BC9-407E-9773-2086A1FD6958}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9145B08A-8BC9-407E-9773-2086A1FD6958}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9145B08A-8BC9-407E-9773-2086A1FD6958}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9145B08A-8BC9-407E-9773-2086A1FD6958}.Release|Any CPU.Build.0 = Release|Any CPU + {ABF3C8B0-8884-4E12-8960-57FDB5CC16C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ABF3C8B0-8884-4E12-8960-57FDB5CC16C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ABF3C8B0-8884-4E12-8960-57FDB5CC16C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ABF3C8B0-8884-4E12-8960-57FDB5CC16C1}.Release|Any CPU.Build.0 = Release|Any CPU + {DDB3DE44-6D5C-447E-861A-5B7F53E84E3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DDB3DE44-6D5C-447E-861A-5B7F53E84E3C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DDB3DE44-6D5C-447E-861A-5B7F53E84E3C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DDB3DE44-6D5C-447E-861A-5B7F53E84E3C}.Release|Any CPU.Build.0 = Release|Any CPU + {F4A4F947-5CE5-4DED-B884-B78E8DB3FD9B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4A4F947-5CE5-4DED-B884-B78E8DB3FD9B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4A4F947-5CE5-4DED-B884-B78E8DB3FD9B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4A4F947-5CE5-4DED-B884-B78E8DB3FD9B}.Release|Any CPU.Build.0 = Release|Any CPU + {21195444-52F3-450D-A78E-6F0AF914B907}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {21195444-52F3-450D-A78E-6F0AF914B907}.Debug|Any CPU.Build.0 = Debug|Any CPU + {21195444-52F3-450D-A78E-6F0AF914B907}.Release|Any CPU.ActiveCfg = Release|Any CPU + {21195444-52F3-450D-A78E-6F0AF914B907}.Release|Any CPU.Build.0 = Release|Any CPU + {6125BA47-11C5-4F2C-9AE1-C61069CD95E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6125BA47-11C5-4F2C-9AE1-C61069CD95E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6125BA47-11C5-4F2C-9AE1-C61069CD95E2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6125BA47-11C5-4F2C-9AE1-C61069CD95E2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -62,6 +110,14 @@ Global GlobalSection(NestedProjects) = preSolution {B1C41076-5120-47DA-AEE7-D90E0EB7C038} = {D1988217-0AF1-4A13-94AA-FF55337383D0} {17EBBBC2-B4AF-4CE4-8F76-73C6E088B3E1} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {3D20C199-5CF0-45CA-B99F-AB1A4D9DB233} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {A3D978D2-21E1-4C45-A6BF-91302DFA65DE} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {9145B08A-8BC9-407E-9773-2086A1FD6958} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {ABF3C8B0-8884-4E12-8960-57FDB5CC16C1} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {DDB3DE44-6D5C-447E-861A-5B7F53E84E3C} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {F4A4F947-5CE5-4DED-B884-B78E8DB3FD9B} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {21195444-52F3-450D-A78E-6F0AF914B907} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} + {6125BA47-11C5-4F2C-9AE1-C61069CD95E2} = {D27CBC04-496C-4112-A2AF-786715AFEDE5} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {4C661325-1729-4560-89F9-E2B51B111B72} diff --git a/Connected.Framework b/Connected.Framework deleted file mode 160000 index f80b6bf..0000000 --- a/Connected.Framework +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f80b6bfac9c1ae1e9009949e1ec322b3ce973d08 diff --git a/build/init.bat b/build/init.bat index 560febd..017ad52 100644 --- a/build/init.bat +++ b/build/init.bat @@ -9,7 +9,7 @@ echo "Submodules up to date" FOR /F "delims=" %%a IN ('DIR "../dependencies" /A:d /B') DO ( echo Handling %%a - cd "../dependencies/%%a/build" + cd ../dependencies/%%a/build echo %cd% IF EXIST init.bat ( echo "found init.bat" diff --git a/dependencies/Connected b/dependencies/Connected new file mode 160000 index 0000000..dd40532 --- /dev/null +++ b/dependencies/Connected @@ -0,0 +1 @@ +Subproject commit dd40532a0ff03237407de9635c7211c5e1af5807 diff --git a/dependencies/Connected.Common b/dependencies/Connected.Common new file mode 160000 index 0000000..174ef66 --- /dev/null +++ b/dependencies/Connected.Common @@ -0,0 +1 @@ +Subproject commit 174ef6636713482fd0d17b95fb7b0e9bf275da7c diff --git a/dependencies/Connected.Components b/dependencies/Connected.Components index acd9963..a9e0968 160000 --- a/dependencies/Connected.Components +++ b/dependencies/Connected.Components @@ -1 +1 @@ -Subproject commit acd9963b41706535efe5c643ea2e9e742fbe6a99 +Subproject commit a9e0968740c970e01fbef1d434f5802511ac138f diff --git a/dependencies/Connected.UI b/dependencies/Connected.UI new file mode 160000 index 0000000..c5ff77a --- /dev/null +++ b/dependencies/Connected.UI @@ -0,0 +1 @@ +Subproject commit c5ff77a648ffd937ded7cefff59371f880a465d6 diff --git a/src/Connected.Common.Types.Client/Connected.Common.Types.Client.csproj b/src/Connected.Common.Types.Client/Connected.Common.Types.Client.csproj index ce6cfa5..9f55fb3 100644 --- a/src/Connected.Common.Types.Client/Connected.Common.Types.Client.csproj +++ b/src/Connected.Common.Types.Client/Connected.Common.Types.Client.csproj @@ -1,4 +1,4 @@ - + net7.0 @@ -18,15 +18,6 @@ $(OutputPath) - - - - - - True @@ -38,8 +29,8 @@ - - - - + + + + diff --git a/src/Connected.Common.Types.Client/version.json b/src/Connected.Common.Types.Client/version.json deleted file mode 100644 index 2a1593f..0000000 --- a/src/Connected.Common.Types.Client/version.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.0-prerelease", - "semVer1NumericIdentifierPadding": 4, - "nugetPackageVersion": { - "semVer": 2, // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1. - "precision": "build" // optional. Use when you want to use a more or less precise package version than the default major.minor.build. - }, - "cloudBuild": { - "buildNumber": { - "enabled": true - } - } -} \ No newline at end of file diff --git a/src/Connected.Common.Types.Middleware/Connected.Common.Types.Middleware.csproj b/src/Connected.Common.Types.Middleware/Connected.Common.Types.Middleware.csproj index bb6d334..1205a71 100644 --- a/src/Connected.Common.Types.Middleware/Connected.Common.Types.Middleware.csproj +++ b/src/Connected.Common.Types.Middleware/Connected.Common.Types.Middleware.csproj @@ -18,15 +18,6 @@ $(OutputPath) - - - - - - True @@ -38,8 +29,8 @@ - - - - + + + + diff --git a/src/Connected.Common.Types.Middleware/version.json b/src/Connected.Common.Types.Middleware/version.json deleted file mode 100644 index 2a1593f..0000000 --- a/src/Connected.Common.Types.Middleware/version.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.0-prerelease", - "semVer1NumericIdentifierPadding": 4, - "nugetPackageVersion": { - "semVer": 2, // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1. - "precision": "build" // optional. Use when you want to use a more or less precise package version than the default major.minor.build. - }, - "cloudBuild": { - "buildNumber": { - "enabled": true - } - } -} \ No newline at end of file diff --git a/src/Connected.Common.Types.Model/Connected.Common.Types.Model.csproj b/src/Connected.Common.Types.Model/Connected.Common.Types.Model.csproj index 4459896..a5eb22f 100644 --- a/src/Connected.Common.Types.Model/Connected.Common.Types.Model.csproj +++ b/src/Connected.Common.Types.Model/Connected.Common.Types.Model.csproj @@ -18,15 +18,6 @@ $(OutputPath) - - - - - - True @@ -38,8 +29,8 @@ - - - - + + + + diff --git a/src/Connected.Common.Types.Model/version.json b/src/Connected.Common.Types.Model/version.json deleted file mode 100644 index 2a1593f..0000000 --- a/src/Connected.Common.Types.Model/version.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.0-prerelease", - "semVer1NumericIdentifierPadding": 4, - "nugetPackageVersion": { - "semVer": 2, // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1. - "precision": "build" // optional. Use when you want to use a more or less precise package version than the default major.minor.build. - }, - "cloudBuild": { - "buildNumber": { - "enabled": true - } - } -} \ No newline at end of file diff --git a/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj b/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj index 07eba40..ced38a2 100644 --- a/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj +++ b/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj @@ -25,10 +25,6 @@ - - - - @@ -36,11 +32,6 @@ - - - - - @@ -52,15 +43,13 @@ True \ - + + + + - - - - - diff --git a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor index 2b57ccc..50b6b50 100644 --- a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor +++ b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateAdd.razor @@ -4,11 +4,11 @@
- +
- +
diff --git a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor index 95cbf27..7bfa731 100644 --- a/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor +++ b/src/Connected.Common.Types.UI/TaxRates/Components/TaxRateEdit.razor @@ -5,21 +5,13 @@

TaxRateEditForm

- - - +
+ +
-
- - -
+
+ +
-
- - -
- - - - -
\ No newline at end of file + + diff --git a/src/Connected.Common.Types.UI/version.json b/src/Connected.Common.Types.UI/version.json deleted file mode 100644 index 2a1593f..0000000 --- a/src/Connected.Common.Types.UI/version.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.0-prerelease", - "semVer1NumericIdentifierPadding": 4, - "nugetPackageVersion": { - "semVer": 2, // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1. - "precision": "build" // optional. Use when you want to use a more or less precise package version than the default major.minor.build. - }, - "cloudBuild": { - "buildNumber": { - "enabled": true - } - } -} \ No newline at end of file diff --git a/src/Connected.Common.Types/Connected.Common.Types.csproj b/src/Connected.Common.Types/Connected.Common.Types.csproj index ba0f5a5..6cb969f 100644 --- a/src/Connected.Common.Types/Connected.Common.Types.csproj +++ b/src/Connected.Common.Types/Connected.Common.Types.csproj @@ -5,7 +5,7 @@ enable enable $(MSBuildProjectName.Replace(" ", "_")) - True + false $(AssemblyName) Tom PIT ltd 2022 Tom PIT ltd @@ -18,18 +18,6 @@ $(OutputPath) - - - - - - - - - True @@ -41,8 +29,11 @@ - - - - + + + + + + + \ No newline at end of file diff --git a/src/Connected.Common.Types/version.json b/src/Connected.Common.Types/version.json deleted file mode 100644 index 2a1593f..0000000 --- a/src/Connected.Common.Types/version.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.0-prerelease", - "semVer1NumericIdentifierPadding": 4, - "nugetPackageVersion": { - "semVer": 2, // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1. - "precision": "build" // optional. Use when you want to use a more or less precise package version than the default major.minor.build. - }, - "cloudBuild": { - "buildNumber": { - "enabled": true - } - } -} \ No newline at end of file diff --git a/tests/Connected.Common.Types.Tests/TaxRates/Ops/InsertTests.cs b/tests/Connected.Common.Types.Tests/TaxRates/Ops/InsertTests.cs index 1b008b1..40e92f1 100644 --- a/tests/Connected.Common.Types.Tests/TaxRates/Ops/InsertTests.cs +++ b/tests/Connected.Common.Types.Tests/TaxRates/Ops/InsertTests.cs @@ -192,7 +192,7 @@ public class InsertTests var eventServiceFake = instanceFaker.GetMock()!; - _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), ServiceEvents.Inserted, It.IsAny())); + _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Inserted, It.IsAny())); /* * Test */ @@ -201,7 +201,7 @@ public class InsertTests /* * Assert */ - eventServiceFake.Verify(e => e.Enqueue(It.IsAny(), ServiceEvents.Inserted, It.IsAny()), Times.Exactly(1)); + eventServiceFake.Verify(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Inserted, It.IsAny()), Times.Exactly(1)); } [TestMethod("Insert commit refreshes cache exactly once")] @@ -218,7 +218,7 @@ public class InsertTests var eventServiceFake = instanceFaker.GetMock()!; - _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), ServiceEvents.Inserted, It.IsAny())); + _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Inserted, It.IsAny())); /* * Test */ @@ -254,7 +254,7 @@ public class InsertTests _ = eventServiceFake .InSequence(sequence) - .Setup(e => e.Enqueue(It.IsAny(), ServiceEvents.Inserted, It.IsAny())); + .Setup(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Inserted, It.IsAny())); /* * Test */ @@ -264,7 +264,7 @@ public class InsertTests * Assert */ taxRateCacheFake.Verify(e => e.Refresh(It.IsAny()), Times.Exactly(1)); - eventServiceFake.Verify(e => e.Enqueue(It.IsAny(), ServiceEvents.Inserted, It.IsAny())); + eventServiceFake.Verify(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Inserted, It.IsAny())); } } } \ No newline at end of file diff --git a/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs b/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs index b985684..4e2017c 100644 --- a/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs +++ b/tests/Connected.Common.Types.Tests/TaxRates/Ops/QueryTests.cs @@ -1,4 +1,5 @@ using System.Collections.Immutable; +using Connected.Common.Types.TaxRates; using Connected.Entities; using Connected.ServiceModel; using static Connected.Common.Types.TaxRates.TaxRateOps; diff --git a/tests/Connected.Common.Types.Tests/TaxRates/Ops/UpdateTests.cs b/tests/Connected.Common.Types.Tests/TaxRates/Ops/UpdateTests.cs index 93d55d5..4416602 100644 --- a/tests/Connected.Common.Types.Tests/TaxRates/Ops/UpdateTests.cs +++ b/tests/Connected.Common.Types.Tests/TaxRates/Ops/UpdateTests.cs @@ -219,7 +219,7 @@ public class UpdateTests var eventServiceFake = instanceFaker.GetMock()!; - _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), ServiceEvents.Updated, It.IsAny())); + _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Updated, It.IsAny())); /* * Argument values are irrelevant for the test @@ -234,7 +234,7 @@ public class UpdateTests /* * Assert */ - eventServiceFake.Verify(e => e.Enqueue(It.IsAny(), ServiceEvents.Updated, It.IsAny()), Times.Exactly(1)); + eventServiceFake.Verify(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Updated, It.IsAny()), Times.Exactly(1)); } [TestMethod("Update commit refreshes cache exactly once")] @@ -251,7 +251,7 @@ public class UpdateTests var eventServiceFake = instanceFaker.GetMock()!; - _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), ServiceEvents.Updated, It.IsAny())); + _ = eventServiceFake.Setup(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Updated, It.IsAny())); /* * Argument values are irrelevant for the test @@ -293,7 +293,7 @@ public class UpdateTests _ = eventServiceFake .InSequence(sequence) - .Setup(e => e.Enqueue(It.IsAny(), ServiceEvents.Updated, It.IsAny())); + .Setup(e => e.Enqueue(It.IsAny(), It.IsAny(), ServiceEvents.Updated, It.IsAny())); /* * Argument values are irrelevant for the test