diff --git a/DEPENDENCIES b/DEPENDENCIES index 2742e2eece..3f11d71e17 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -11,9 +11,9 @@ nuget/nuget/-/Flurl.Http.Signed/4.0.2, MIT, approved, #16447 nuget/nuget/-/Flurl.Signed/4.0.0, MIT, approved, #16448 nuget/nuget/-/HtmlAgilityPack/1.11.67, MIT, approved, #9293 nuget/nuget/-/Humanizer.Core/2.14.1, MIT, approved, #10060 -nuget/nuget/-/Json.More.Net/2.0.0, MIT AND OFL-1.1 AND CC-BY-SA-4.0, approved, #15173 -nuget/nuget/-/JsonPointer.Net/4.0.0, MIT, approved, clearlydefined -nuget/nuget/-/JsonSchema.Net/6.1.2, MIT AND OFL-1.1 AND CC-BY-SA-4.0, approved, #14591 +nuget/nuget/-/Json.More.Net/2.0.1.2, MIT AND OFL-1.1 AND CC-BY-SA-4.0, approved, #15173 +nuget/nuget/-/JsonPointer.Net/5.0.0, MIT AND OFL-1.1 AND CC-BY-SA-4.0, approved, #15172 +nuget/nuget/-/JsonSchema.Net/7.2.3, MIT AND CC-BY-SA-4.0 AND OFL-1.1, approved, #16329 nuget/nuget/-/Laraue.EfCoreTriggers.Common/8.1.2, MIT, approved, #16234 nuget/nuget/-/Laraue.EfCoreTriggers.PostgreSql/8.1.2, MIT, approved, #16240 nuget/nuget/-/MailKit/4.8.0, MIT AND LicenseRef-scancode-ietf AND LicenseRef-scancode-ietf-trust AND (BSD-3-Clause AND LicenseRef-scancode-ietf-trust), approved, #16444 @@ -35,19 +35,20 @@ nuget/nuget/-/RestAssured.Net/4.4.0, Apache-2.0, approved, #16855 nuget/nuget/-/SSH.NET/2023.0.0, MIT AND (MIT AND MS-PL) AND ISC, approved, #13965 nuget/nuget/-/Serilog.AspNetCore/8.0.3, Apache-2.0 AND MIT, approved, #13967 nuget/nuget/-/Serilog.Enrichers.CorrelationId/3.0.1, MIT, approved, clearlydefined -nuget/nuget/-/Serilog.Enrichers.Environment/2.3.0, Apache-2.0, approved, #13959 -nuget/nuget/-/Serilog.Enrichers.Process/2.0.2, Apache-2.0, approved, clearlydefined +nuget/nuget/-/Serilog.Enrichers.Environment/3.0.1, Apache-2.0, approved, #17052 +nuget/nuget/-/Serilog.Enrichers.Process/3.0.0, Apache-2.0, approved, #17053 nuget/nuget/-/Serilog.Enrichers.Sensitive/1.7.3, MIT, approved, clearlydefined -nuget/nuget/-/Serilog.Enrichers.Thread/3.1.0, Apache-2.0, approved, clearlydefined +nuget/nuget/-/Serilog.Enrichers.Thread/4.0.0, Apache-2.0, approved, #17050 nuget/nuget/-/Serilog.Extensions.Hosting/8.0.0, Apache-2.0, approved, #13962 nuget/nuget/-/Serilog.Extensions.Logging/8.0.0, Apache-2.0, approved, #13985 nuget/nuget/-/Serilog.Formatting.Compact/2.0.0, Apache-2.0, approved, #13981 nuget/nuget/-/Serilog.Settings.Configuration/8.0.4, Apache-2.0, approved, #13988 nuget/nuget/-/Serilog.Sinks.Console/5.0.0, Apache-2.0, approved, #13980 -nuget/nuget/-/Serilog.Sinks.Console/5.0.1, Apache-2.0, approved, #13980 +nuget/nuget/-/Serilog.Sinks.Console/6.0.0, Apache-2.0, approved, #17054 nuget/nuget/-/Serilog.Sinks.Debug/2.0.0, Apache-2.0, approved, clearlydefined nuget/nuget/-/Serilog.Sinks.File/5.0.0, Apache-2.0, approved, #11116 nuget/nuget/-/Serilog/3.1.1, Apache-2.0, approved, #13978 +nuget/nuget/-/Serilog/4.1.0, Apache-2.0, approved, #17051 nuget/nuget/-/SharpZipLib/1.4.2, MIT AND GFDL-1.3-or-later AND (Apache-2.0 AND MIT) AND WTFPL AND bzip2-1.0.6 AND LicenseRef-Permissive-license-with-conditions AND LicenseRef-Permission-Notice, approved, #10058 nuget/nuget/-/SshNet.Security.Cryptography/1.3.0, MIT, approved, clearlydefined nuget/nuget/-/Stubble.Core/1.10.8, MIT AND BSD-2-Clause, approved, #9297 @@ -56,15 +57,15 @@ nuget/nuget/-/Swashbuckle.AspNetCore.Swagger/6.9.0, MIT AND Apache-2.0, approved nuget/nuget/-/Swashbuckle.AspNetCore.SwaggerGen/6.9.0, MIT AND Apache-2.0, approved, #16820 nuget/nuget/-/Swashbuckle.AspNetCore.SwaggerUI/6.9.0, MIT AND Apache-2.0, approved, #16818 nuget/nuget/-/Swashbuckle.AspNetCore/6.9.0, MIT AND Apache-2.0, approved, #16816 -nuget/nuget/-/Testcontainers.PostgreSql/3.10.0, MIT, approved, #16241 -nuget/nuget/-/Testcontainers/3.10.0, MIT, approved, #16236 -nuget/nuget/-/Xunit.Extensions.AssemblyFixture/2.4.1, MIT, approved, #3502 +nuget/nuget/-/Testcontainers.PostgreSql/4.0.0, MIT, approved, #17048 +nuget/nuget/-/Testcontainers/4.0.0, MIT, approved, #17049 +nuget/nuget/-/Xunit.Extensions.AssemblyFixture/2.6.0, MIT, approved, #17055 nuget/nuget/-/coverlet.collector/6.0.2, MIT, approved, #10075 nuget/nuget/-/xunit.abstractions/2.0.3, Apache-2.0, approved, clearlydefined -nuget/nuget/-/xunit.analyzers/1.11.0, Apache-2.0 AND MIT, approved, #14197 -nuget/nuget/-/xunit.assert/2.7.0, Apache-2.0 AND MIT, approved, #13971 -nuget/nuget/-/xunit.core/2.7.0, Apache-2.0, approved, #13979 -nuget/nuget/-/xunit.extensibility.core/2.7.0, Apache-2.0 AND MIT, approved, #13974 -nuget/nuget/-/xunit.extensibility.execution/2.7.0, Apache-2.0, approved, #13977 -nuget/nuget/-/xunit.runner.visualstudio/2.5.7, Apache-2.0 AND MIT, approved, #10065 -nuget/nuget/-/xunit/2.7.0, Apache-2.0 AND MIT, approved, #13969 +nuget/nuget/-/xunit.analyzers/1.16.0, Apache-2.0 AND MIT, approved, #16332 +nuget/nuget/-/xunit.assert/2.9.2, Apache-2.0, approved, #16331 +nuget/nuget/-/xunit.core/2.9.2, Apache-2.0, approved, #16330 +nuget/nuget/-/xunit.extensibility.core/2.9.2, Apache-2.0 AND MIT, approved, #16334 +nuget/nuget/-/xunit.extensibility.execution/2.9.2, Apache-2.0 AND MIT, approved, #16333 +nuget/nuget/-/xunit.runner.visualstudio/2.8.2, Apache-2.0 AND MIT, approved, #15181 +nuget/nuget/-/xunit/2.9.2, Apache-2.0 AND MIT, approved, #16327 diff --git a/src/Portal.Backend.sln b/src/Portal.Backend.sln index 45967dba53..f360dbefdf 100644 --- a/src/Portal.Backend.sln +++ b/src/Portal.Backend.sln @@ -1678,6 +1678,16 @@ Global {07BDC20D-23DD-4C0E-9C3D-B1D232AF17E3}.Release|x86.Build.0 = Release|Any CPU {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Debug|x64.ActiveCfg = Debug|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Debug|x64.Build.0 = Debug|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Debug|x86.ActiveCfg = Debug|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Debug|x86.Build.0 = Debug|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Release|Any CPU.Build.0 = Release|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Release|x64.ActiveCfg = Release|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Release|x64.Build.0 = Release|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Release|x86.ActiveCfg = Release|Any CPU + {D666EADA-770A-42FF-B891-5745F7A6BC2F}.Release|x86.Build.0 = Release|Any CPU {59E4B63B-BEA2-4CDA-98F0-13962146AEA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {59E4B63B-BEA2-4CDA-98F0-13962146AEA5}.Debug|Any CPU.Build.0 = Debug|Any CPU {59E4B63B-BEA2-4CDA-98F0-13962146AEA5}.Debug|x64.ActiveCfg = Debug|Any CPU diff --git a/src/externalsystems/Dim.Library/Dim.Library.csproj b/src/externalsystems/Dim.Library/Dim.Library.csproj index e3f7417854..9d09809d1d 100644 --- a/src/externalsystems/Dim.Library/Dim.Library.csproj +++ b/src/externalsystems/Dim.Library/Dim.Library.csproj @@ -35,7 +35,7 @@ - + diff --git a/src/externalsystems/IssuerComponent.Library/IssuerComponent.Library.csproj b/src/externalsystems/IssuerComponent.Library/IssuerComponent.Library.csproj index 98b759eadb..d69579af1f 100644 --- a/src/externalsystems/IssuerComponent.Library/IssuerComponent.Library.csproj +++ b/src/externalsystems/IssuerComponent.Library/IssuerComponent.Library.csproj @@ -35,7 +35,7 @@ - + diff --git a/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj b/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj index 160b181b48..cba0095092 100644 --- a/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj +++ b/src/framework/Framework.ErrorHandling.Web/Framework.ErrorHandling.Web.csproj @@ -68,7 +68,7 @@ - + diff --git a/src/framework/Framework.Logging/Framework.Logging.csproj b/src/framework/Framework.Logging/Framework.Logging.csproj index 1ba63f68eb..910fff45df 100644 --- a/src/framework/Framework.Logging/Framework.Logging.csproj +++ b/src/framework/Framework.Logging/Framework.Logging.csproj @@ -64,14 +64,14 @@ - - - + + + - + - + diff --git a/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj b/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj index 15933251fc..4a2f88a238 100644 --- a/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj +++ b/src/keycloak/Keycloak.Seeding/Keycloak.Seeding.csproj @@ -39,7 +39,7 @@ - + diff --git a/src/marketplace/Services.Service/BusinessLogic/IServiceBusinessLogic.cs b/src/marketplace/Services.Service/BusinessLogic/IServiceBusinessLogic.cs index c45304a0c9..64a3245e42 100644 --- a/src/marketplace/Services.Service/BusinessLogic/IServiceBusinessLogic.cs +++ b/src/marketplace/Services.Service/BusinessLogic/IServiceBusinessLogic.cs @@ -130,9 +130,10 @@ public interface IServiceBusinessLogic /// /// Retrieves subscription statuses of subscribed Service of the provided user's company. /// - /// page - /// size - /// + /// page + /// size + /// optional status to filter by + /// optional name to filter by /// Returns the details of the subscription status for Service user Task> GetCompanySubscribedServiceSubscriptionStatusesForUserAsync(int page, int size, OfferSubscriptionStatusId? statusId, string? name); diff --git a/src/notifications/Notifications.Service/Notifications.Service.csproj b/src/notifications/Notifications.Service/Notifications.Service.csproj index f438ae6657..191e16e72e 100644 --- a/src/notifications/Notifications.Service/Notifications.Service.csproj +++ b/src/notifications/Notifications.Service/Notifications.Service.csproj @@ -19,16 +19,17 @@ - - Org.Eclipse.TractusX.Portal.Backend.Notifications.Service - net8.0 - enable - enable - Linux - ..\..\.. - True - 53be9d36-5a45-441f-8f48-772ae6e64ca2 - Org.Eclipse.TractusX.Portal.Backend.Notifications.Service + + Org.Eclipse.TractusX.Portal.Backend.Notifications.Service + Org.Eclipse.TractusX.Portal.Backend.Notifications.Service + net8.0 + enable + enable + Linux + ..\..\.. + True + 53be9d36-5a45-441f-8f48-772ae6e64ca2 + CS1591 diff --git a/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj b/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj index 8606aa6fdd..e7dfe2b77d 100644 --- a/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj +++ b/src/provisioning/Provisioning.Migrations/Provisioning.Migrations.csproj @@ -32,6 +32,7 @@ Exe true + CS1591 diff --git a/tests/administration/Administration.Service.Tests/BusinessLogic/ConnectorsBusinessLogicTests.cs b/tests/administration/Administration.Service.Tests/BusinessLogic/ConnectorsBusinessLogicTests.cs index f1c55d916d..3f75d72d9a 100644 --- a/tests/administration/Administration.Service.Tests/BusinessLogic/ConnectorsBusinessLogicTests.cs +++ b/tests/administration/Administration.Service.Tests/BusinessLogic/ConnectorsBusinessLogicTests.cs @@ -1396,7 +1396,7 @@ private void SetupRepositoryMethods() A.CallTo(() => _companyRepository.GetCompanyBpnAndSelfDescriptionDocumentByIdAsync(A.That.Not.Matches(x => x == ValidCompanyId || x == CompanyIdWithoutSdDocument))) .Returns((null, null)); A.CallTo(() => _offerSubscriptionRepository.CheckOfferSubscriptionWithOfferProvider(_validOfferSubscriptionId, ValidCompanyId)) - .Returns((true, true, false, OfferSubscriptionStatusId.ACTIVE, Guid.NewGuid(), ProviderCompanyId: HostCompanyId, ValidCompanyBpn)); + .Returns((true, true, false, OfferSubscriptionStatusId.ACTIVE, Guid.NewGuid(), HostCompanyId, ValidCompanyBpn)); A.CallTo(() => _connectorsRepository.CreateConnector(A._, A._, A._, A?>._)) .Invokes((string name, string location, string connectorUrl, Action? setupOptionalFields) => diff --git a/tests/endtoend/CreateAppScenario/CreateNewTestAppScenario.cs b/tests/endtoend/CreateAppScenario/CreateNewTestAppScenario.cs index c380c48649..90bad2d926 100644 --- a/tests/endtoend/CreateAppScenario/CreateNewTestAppScenario.cs +++ b/tests/endtoend/CreateAppScenario/CreateNewTestAppScenario.cs @@ -32,7 +32,7 @@ [assembly: CollectionBehavior(DisableTestParallelization = true)] [assembly: TestCollectionOrderer( ordererTypeName: "Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests.DisplayNameOrderer", - ordererAssemblyName: "EndToEnd.Tests")] + ordererAssemblyName: "Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests")] namespace Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests; diff --git a/tests/endtoend/EndToEnd.Tests.csproj b/tests/endtoend/EndToEnd.Tests.csproj index 590ee4ed27..ad3d8d08b3 100644 --- a/tests/endtoend/EndToEnd.Tests.csproj +++ b/tests/endtoend/EndToEnd.Tests.csproj @@ -35,10 +35,10 @@ - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/endtoend/PortalHealthCheck/BaseDataLoadCheck.cs b/tests/endtoend/PortalHealthCheck/BaseDataLoadCheck.cs index 73f5a4a9d1..cf86614fa5 100644 --- a/tests/endtoend/PortalHealthCheck/BaseDataLoadCheck.cs +++ b/tests/endtoend/PortalHealthCheck/BaseDataLoadCheck.cs @@ -26,7 +26,7 @@ namespace Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests; [Trait("Category", "PortalHC")] -[TestCaseOrderer("Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests.AlphabeticalOrderer", "EndToEnd.Tests")] +[TestCaseOrderer("Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests.AlphabeticalOrderer", "Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests")] [Collection("PortalHC")] public class BaseDataLoadCheck : EndToEndTestBase, IAsyncLifetime { diff --git a/tests/endtoend/PortalHealthCheck/RegistrationHealthCheck.cs b/tests/endtoend/PortalHealthCheck/RegistrationHealthCheck.cs index 4e63b76f4f..2013c9084b 100644 --- a/tests/endtoend/PortalHealthCheck/RegistrationHealthCheck.cs +++ b/tests/endtoend/PortalHealthCheck/RegistrationHealthCheck.cs @@ -25,7 +25,7 @@ namespace Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests; [Trait("Category", "PortalHC")] -[TestCaseOrderer("Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests.AlphabeticalOrderer", "EndToEnd.Tests")] +[TestCaseOrderer("Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests.AlphabeticalOrderer", "Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests")] [Collection("PortalHC")] public class RegistrationHealthCheck : EndToEndTestBase, IAsyncLifetime { diff --git a/tests/endtoend/RegistrationScenarios/RegistrationScenarios.cs b/tests/endtoend/RegistrationScenarios/RegistrationScenarios.cs index bc92a2e814..3ea7b34cc2 100644 --- a/tests/endtoend/RegistrationScenarios/RegistrationScenarios.cs +++ b/tests/endtoend/RegistrationScenarios/RegistrationScenarios.cs @@ -26,7 +26,7 @@ namespace Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests; [Trait("Category", "Registration")] [TestCaseOrderer("Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests.AlphabeticalOrderer", - "EndToEnd.Tests")] + "Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests")] [Collection("Registration")] public class RegistrationScenarios : EndToEndTestBase { diff --git a/tests/endtoend/ServiceAccountCUDScenarios/ServiceAccountCUDScenarios.cs b/tests/endtoend/ServiceAccountCUDScenarios/ServiceAccountCUDScenarios.cs index 9502dd3143..32c49468be 100644 --- a/tests/endtoend/ServiceAccountCUDScenarios/ServiceAccountCUDScenarios.cs +++ b/tests/endtoend/ServiceAccountCUDScenarios/ServiceAccountCUDScenarios.cs @@ -28,7 +28,7 @@ namespace Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests; [Trait("Category", "Portal")] [TestCaseOrderer("Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests.AlphabeticalOrderer", - "EndToEnd.Tests")] + "Org.Eclipse.TractusX.Portal.Backend.EndToEnd.Tests")] [Collection("Portal")] public class ServiceAccountCUDScenarios : EndToEndTestBase { diff --git a/tests/endtoend/xunit.runner.json b/tests/endtoend/xunit.runner.json index 74d96d6192..0d5b6bf018 100644 --- a/tests/endtoend/xunit.runner.json +++ b/tests/endtoend/xunit.runner.json @@ -1,4 +1,5 @@ { + "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", "methodDisplay": "method", "methodDisplayOptions": "replaceUnderscoreWithSpace" } \ No newline at end of file diff --git a/tests/externalsystems/Bpdm.Library/Bpdm.Library.csproj b/tests/externalsystems/Bpdm.Library/Bpdm.Library.csproj index c5e88af4ce..759c83d80d 100644 --- a/tests/externalsystems/Bpdm.Library/Bpdm.Library.csproj +++ b/tests/externalsystems/Bpdm.Library/Bpdm.Library.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/BpnDidResolver.Library.Tests/BpnDidResolver.Library.Tests.csproj b/tests/externalsystems/BpnDidResolver.Library.Tests/BpnDidResolver.Library.Tests.csproj index d8003dedc9..5d1ed67839 100644 --- a/tests/externalsystems/BpnDidResolver.Library.Tests/BpnDidResolver.Library.Tests.csproj +++ b/tests/externalsystems/BpnDidResolver.Library.Tests/BpnDidResolver.Library.Tests.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/Clearinghouse.Library.Tests/Clearinghouse.Library.Tests.csproj b/tests/externalsystems/Clearinghouse.Library.Tests/Clearinghouse.Library.Tests.csproj index 05a83fa116..72846a5c50 100644 --- a/tests/externalsystems/Clearinghouse.Library.Tests/Clearinghouse.Library.Tests.csproj +++ b/tests/externalsystems/Clearinghouse.Library.Tests/Clearinghouse.Library.Tests.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/Custodian.Library.Tests/Custodian.Library.Tests.csproj b/tests/externalsystems/Custodian.Library.Tests/Custodian.Library.Tests.csproj index 61a848dfee..31eba4cddc 100644 --- a/tests/externalsystems/Custodian.Library.Tests/Custodian.Library.Tests.csproj +++ b/tests/externalsystems/Custodian.Library.Tests/Custodian.Library.Tests.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/Dim.Library.Tests/Dim.Library.Tests.csproj b/tests/externalsystems/Dim.Library.Tests/Dim.Library.Tests.csproj index e6bcd8e268..93e725b7d8 100644 --- a/tests/externalsystems/Dim.Library.Tests/Dim.Library.Tests.csproj +++ b/tests/externalsystems/Dim.Library.Tests/Dim.Library.Tests.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/ExternalSystems.Provisioning.Library.Tests/ExternalSystems.Provisioning.Library.Tests.csproj b/tests/externalsystems/ExternalSystems.Provisioning.Library.Tests/ExternalSystems.Provisioning.Library.Tests.csproj index 09216a6dad..ddca18dd5f 100644 --- a/tests/externalsystems/ExternalSystems.Provisioning.Library.Tests/ExternalSystems.Provisioning.Library.Tests.csproj +++ b/tests/externalsystems/ExternalSystems.Provisioning.Library.Tests/ExternalSystems.Provisioning.Library.Tests.csproj @@ -27,8 +27,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/IssuerComponent.Library.Tests/IssuerComponent.Library.Tests.csproj b/tests/externalsystems/IssuerComponent.Library.Tests/IssuerComponent.Library.Tests.csproj index 74ab07be5e..d423a25a15 100644 --- a/tests/externalsystems/IssuerComponent.Library.Tests/IssuerComponent.Library.Tests.csproj +++ b/tests/externalsystems/IssuerComponent.Library.Tests/IssuerComponent.Library.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/OfferProvider.Library/OfferProvider.Library.csproj b/tests/externalsystems/OfferProvider.Library/OfferProvider.Library.csproj index 06f2fc49b8..7897915c82 100644 --- a/tests/externalsystems/OfferProvider.Library/OfferProvider.Library.csproj +++ b/tests/externalsystems/OfferProvider.Library/OfferProvider.Library.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/OnboardingServiceProvider.Library.Tests/OnboardingServiceProvider.Library.Tests.csproj b/tests/externalsystems/OnboardingServiceProvider.Library.Tests/OnboardingServiceProvider.Library.Tests.csproj index 3a3b7d818e..5864e24a76 100644 --- a/tests/externalsystems/OnboardingServiceProvider.Library.Tests/OnboardingServiceProvider.Library.Tests.csproj +++ b/tests/externalsystems/OnboardingServiceProvider.Library.Tests/OnboardingServiceProvider.Library.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/externalsystems/SdFactory.Library.Tests/SdFactory.Library.Tests.csproj b/tests/externalsystems/SdFactory.Library.Tests/SdFactory.Library.Tests.csproj index ec80689d4c..66cbbd63e3 100644 --- a/tests/externalsystems/SdFactory.Library.Tests/SdFactory.Library.Tests.csproj +++ b/tests/externalsystems/SdFactory.Library.Tests/SdFactory.Library.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.Async.Tests/Framework.Async.Tests.csproj b/tests/framework/Framework.Async.Tests/Framework.Async.Tests.csproj index dc09eb0e1e..63cc7ae342 100644 --- a/tests/framework/Framework.Async.Tests/Framework.Async.Tests.csproj +++ b/tests/framework/Framework.Async.Tests/Framework.Async.Tests.csproj @@ -33,8 +33,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.DBAccess.Tests/Framework.DBAccess.Tests.csproj b/tests/framework/Framework.DBAccess.Tests/Framework.DBAccess.Tests.csproj index 0e117731a5..2467b02c82 100644 --- a/tests/framework/Framework.DBAccess.Tests/Framework.DBAccess.Tests.csproj +++ b/tests/framework/Framework.DBAccess.Tests/Framework.DBAccess.Tests.csproj @@ -33,8 +33,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.ErrorHandling.Web.Tests/Framework.ErrorHandling.Web.Tests.csproj b/tests/framework/Framework.ErrorHandling.Web.Tests/Framework.ErrorHandling.Web.Tests.csproj index b0efa22972..2c4aa94c59 100644 --- a/tests/framework/Framework.ErrorHandling.Web.Tests/Framework.ErrorHandling.Web.Tests.csproj +++ b/tests/framework/Framework.ErrorHandling.Web.Tests/Framework.ErrorHandling.Web.Tests.csproj @@ -34,8 +34,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.IO.Tests/AsyncEnumerableStringStreamTest.cs b/tests/framework/Framework.IO.Tests/AsyncEnumerableStringStreamTest.cs index e298c21ac3..03032db7c5 100644 --- a/tests/framework/Framework.IO.Tests/AsyncEnumerableStringStreamTest.cs +++ b/tests/framework/Framework.IO.Tests/AsyncEnumerableStringStreamTest.cs @@ -54,7 +54,7 @@ public void TestMetadata() } [Fact] - public async void TestAsyncCopyToSuccess() + public async Task TestAsyncCopyToSuccess() { using var expected = GetExpected(); diff --git a/tests/framework/Framework.IO.Tests/CancelableStreamTest.cs b/tests/framework/Framework.IO.Tests/CancelableStreamTest.cs index 2d6f2fd8c6..ab0b190bcf 100644 --- a/tests/framework/Framework.IO.Tests/CancelableStreamTest.cs +++ b/tests/framework/Framework.IO.Tests/CancelableStreamTest.cs @@ -21,7 +21,6 @@ namespace Org.Eclipse.TractusX.Portal.Backend.Framework.IO.Tests; public class CancelableStreamTest { - private readonly IFixture _fixture; private readonly Stream _stream; private readonly Memory _memory; private readonly int _numBytesFirstRead; @@ -32,24 +31,24 @@ public class CancelableStreamTest public CancelableStreamTest() { - _fixture = new Fixture().Customize(new AutoFakeItEasyCustomization { ConfigureMembers = true }); - _fixture.Behaviors.OfType().ToList() - .ForEach(b => _fixture.Behaviors.Remove(b)); - _fixture.Behaviors.Add(new OmitOnRecursionBehavior()); + var fixture = new Fixture().Customize(new AutoFakeItEasyCustomization { ConfigureMembers = true }); + fixture.Behaviors.OfType().ToList() + .ForEach(b => fixture.Behaviors.Remove(b)); + fixture.Behaviors.Add(new OmitOnRecursionBehavior()); _stream = A.Fake(); - _memory = _fixture.Create>(); - _numBytesFirstRead = _fixture.Create(); - _numBytesSecondRead = _fixture.Create(); + _memory = fixture.Create>(); + _numBytesFirstRead = fixture.Create(); + _numBytesSecondRead = fixture.Create(); _getNumBytes = A.Fake>(); - _sourceTokenCanceledException = _fixture.Create(); - _otherTokenCanceledException = _fixture.Create(); + _sourceTokenCanceledException = fixture.Create(); + _otherTokenCanceledException = fixture.Create(); } #region Tests [Fact] - public async void TestReadAsyncNoOtherTokenSuccess() + public async Task TestReadAsyncNoOtherTokenSuccess() { var (sut, source) = SetupForRead(); var firstResult = await sut.ReadAsync(_memory); @@ -60,7 +59,7 @@ public async void TestReadAsyncNoOtherTokenSuccess() } [Fact] - public async void TestReadAsyncWithUncancelledOtherTokenSuccess() + public async Task TestReadAsyncWithUncancelledOtherTokenSuccess() { var (sut, source) = SetupForRead(); using var firstSource = new CancellationTokenSource(); @@ -73,7 +72,7 @@ public async void TestReadAsyncWithUncancelledOtherTokenSuccess() } [Fact] - public async void TestReadAsyncSourceCancelledWithUncancelledOtherTokenSuccess() + public async Task TestReadAsyncSourceCancelledWithUncancelledOtherTokenSuccess() { var (sut, source) = SetupForRead(); var firstResult = await sut.ReadAsync(_memory); @@ -86,7 +85,7 @@ public async void TestReadAsyncSourceCancelledWithUncancelledOtherTokenSuccess() } [Fact] - public async void TestReadAsyncWithCancelledOtherTokenThrows() + public async Task TestReadAsyncWithCancelledOtherTokenThrows() { var (sut, source) = SetupForRead(); var firstResult = await sut.ReadAsync(_memory); @@ -100,7 +99,7 @@ public async void TestReadAsyncWithCancelledOtherTokenThrows() } [Fact] - public async void TestReadAsyncSourceCancelledThrows() + public async Task TestReadAsyncSourceCancelledThrows() { var (sut, source) = SetupForRead(); var firstResult = await sut.ReadAsync(_memory); diff --git a/tests/framework/Framework.IO.Tests/Framework.IO.Tests.csproj b/tests/framework/Framework.IO.Tests/Framework.IO.Tests.csproj index 9ffecccf6b..232e356f8b 100644 --- a/tests/framework/Framework.IO.Tests/Framework.IO.Tests.csproj +++ b/tests/framework/Framework.IO.Tests/Framework.IO.Tests.csproj @@ -34,8 +34,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.Linq.Tests/Framework.Linq.Tests.csproj b/tests/framework/Framework.Linq.Tests/Framework.Linq.Tests.csproj index 64705e7199..57f43f0d8f 100644 --- a/tests/framework/Framework.Linq.Tests/Framework.Linq.Tests.csproj +++ b/tests/framework/Framework.Linq.Tests/Framework.Linq.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.Logging.Tests/Framework.Logging.Tests.csproj b/tests/framework/Framework.Logging.Tests/Framework.Logging.Tests.csproj index e34fbc46a9..23d0f084f4 100644 --- a/tests/framework/Framework.Logging.Tests/Framework.Logging.Tests.csproj +++ b/tests/framework/Framework.Logging.Tests/Framework.Logging.Tests.csproj @@ -33,8 +33,8 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj b/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj index ad0890e4b1..1153bb12c5 100644 --- a/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj +++ b/tests/framework/Framework.Models.Tests/Framework.Models.Tests.csproj @@ -30,8 +30,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj b/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj index 3f2fad7759..544f26b0c3 100644 --- a/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj +++ b/tests/framework/Framework.Tests.Shared/Framework.Tests.Shared.csproj @@ -36,8 +36,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.Token.Tests/Framework.Token.Tests.csproj b/tests/framework/Framework.Token.Tests/Framework.Token.Tests.csproj index c90e20b38b..4fab94692d 100644 --- a/tests/framework/Framework.Token.Tests/Framework.Token.Tests.csproj +++ b/tests/framework/Framework.Token.Tests/Framework.Token.Tests.csproj @@ -26,8 +26,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj b/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj index 8b9c05758f..06f5bf75ee 100644 --- a/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj +++ b/tests/framework/Framework.Web.Tests/Framework.Web.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/keycloak/Keycloak.Authentication.Tests/Keycloak.Authentication.Tests.csproj b/tests/keycloak/Keycloak.Authentication.Tests/Keycloak.Authentication.Tests.csproj index 9b4094836a..eb0122f5ae 100644 --- a/tests/keycloak/Keycloak.Authentication.Tests/Keycloak.Authentication.Tests.csproj +++ b/tests/keycloak/Keycloak.Authentication.Tests/Keycloak.Authentication.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/keycloak/Keycloak.Seeding.Tests/Keycloak.Seeding.Tests.csproj b/tests/keycloak/Keycloak.Seeding.Tests/Keycloak.Seeding.Tests.csproj index 07f07bae1d..c6cdd92663 100644 --- a/tests/keycloak/Keycloak.Seeding.Tests/Keycloak.Seeding.Tests.csproj +++ b/tests/keycloak/Keycloak.Seeding.Tests/Keycloak.Seeding.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/maintenance/Maintenance.App.Tests/Maintenance.App.Tests.csproj b/tests/maintenance/Maintenance.App.Tests/Maintenance.App.Tests.csproj index ce781dc3ec..d00d1dac5c 100644 --- a/tests/maintenance/Maintenance.App.Tests/Maintenance.App.Tests.csproj +++ b/tests/maintenance/Maintenance.App.Tests/Maintenance.App.Tests.csproj @@ -30,10 +30,10 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/marketplace/Apps.Service.Tests/Apps.Service.Tests.csproj b/tests/marketplace/Apps.Service.Tests/Apps.Service.Tests.csproj index ce7a3567a0..3082c3d08c 100644 --- a/tests/marketplace/Apps.Service.Tests/Apps.Service.Tests.csproj +++ b/tests/marketplace/Apps.Service.Tests/Apps.Service.Tests.csproj @@ -34,7 +34,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/marketplace/Offer.Library.Web.Tests/Offer.Library.Web.Tests.csproj b/tests/marketplace/Offer.Library.Web.Tests/Offer.Library.Web.Tests.csproj index 4bdf6687a8..a6ff37dfa1 100644 --- a/tests/marketplace/Offer.Library.Web.Tests/Offer.Library.Web.Tests.csproj +++ b/tests/marketplace/Offer.Library.Web.Tests/Offer.Library.Web.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/marketplace/Offers.Library.Tests/Offers.Library.Tests.csproj b/tests/marketplace/Offers.Library.Tests/Offers.Library.Tests.csproj index 4009b7d709..52325c0c73 100644 --- a/tests/marketplace/Offers.Library.Tests/Offers.Library.Tests.csproj +++ b/tests/marketplace/Offers.Library.Tests/Offers.Library.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/marketplace/Services.Service.Tests/Services.Service.Tests.csproj b/tests/marketplace/Services.Service.Tests/Services.Service.Tests.csproj index 1779b2f970..8e69508163 100644 --- a/tests/marketplace/Services.Service.Tests/Services.Service.Tests.csproj +++ b/tests/marketplace/Services.Service.Tests/Services.Service.Tests.csproj @@ -30,8 +30,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/notifications/Notifications.Library.Tests/Notifications.Library.Tests.csproj b/tests/notifications/Notifications.Library.Tests/Notifications.Library.Tests.csproj index 4d24d22436..d6a451f4f6 100644 --- a/tests/notifications/Notifications.Library.Tests/Notifications.Library.Tests.csproj +++ b/tests/notifications/Notifications.Library.Tests/Notifications.Library.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/notifications/Notifications.Service.Tests/Notifications.Service.Tests.csproj b/tests/notifications/Notifications.Service.Tests/Notifications.Service.Tests.csproj index ae33ad2028..78fcf66943 100644 --- a/tests/notifications/Notifications.Service.Tests/Notifications.Service.Tests.csproj +++ b/tests/notifications/Notifications.Service.Tests/Notifications.Service.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj b/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj index fe9cd0a0e3..64547021f9 100644 --- a/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj +++ b/tests/portalbackend/PortalBackend.DBAccess.Tests/PortalBackend.DBAccess.Tests.csproj @@ -30,9 +30,9 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj b/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj index 496cad676d..57bfea3f5e 100644 --- a/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj +++ b/tests/portalbackend/PortalBackend.Migrations.Tests/PortalBackend.Migrations.Tests.csproj @@ -30,9 +30,9 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/ApplicationChecklist.Executor.Tests/ApplicationChecklist.Executor.Tests.csproj b/tests/processes/ApplicationChecklist.Executor.Tests/ApplicationChecklist.Executor.Tests.csproj index 301cc54a2b..0cadb9a7f6 100644 --- a/tests/processes/ApplicationChecklist.Executor.Tests/ApplicationChecklist.Executor.Tests.csproj +++ b/tests/processes/ApplicationChecklist.Executor.Tests/ApplicationChecklist.Executor.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/ApplicationChecklist.Library.Tests/ApplicationChecklist.Library.Tests.csproj b/tests/processes/ApplicationChecklist.Library.Tests/ApplicationChecklist.Library.Tests.csproj index 0f82b6639f..c6ab51a762 100644 --- a/tests/processes/ApplicationChecklist.Library.Tests/ApplicationChecklist.Library.Tests.csproj +++ b/tests/processes/ApplicationChecklist.Library.Tests/ApplicationChecklist.Library.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/DimUserProcess.Executor.Tests/DimUserProcess.Executor.Tests.csproj b/tests/processes/DimUserProcess.Executor.Tests/DimUserProcess.Executor.Tests.csproj index ccdaae2288..677662815b 100644 --- a/tests/processes/DimUserProcess.Executor.Tests/DimUserProcess.Executor.Tests.csproj +++ b/tests/processes/DimUserProcess.Executor.Tests/DimUserProcess.Executor.Tests.csproj @@ -28,7 +28,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/IdentityProviderProvisioning.Executor.Tests/IdentityProviderProvisioning.Executor.Tests.csproj b/tests/processes/IdentityProviderProvisioning.Executor.Tests/IdentityProviderProvisioning.Executor.Tests.csproj index 8bb9632eb7..160f4f0374 100644 --- a/tests/processes/IdentityProviderProvisioning.Executor.Tests/IdentityProviderProvisioning.Executor.Tests.csproj +++ b/tests/processes/IdentityProviderProvisioning.Executor.Tests/IdentityProviderProvisioning.Executor.Tests.csproj @@ -27,8 +27,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/Invitation.Executor.Tests/Invitation.Executor.Tests.csproj b/tests/processes/Invitation.Executor.Tests/Invitation.Executor.Tests.csproj index 76091e52f7..cc4154e7a5 100644 --- a/tests/processes/Invitation.Executor.Tests/Invitation.Executor.Tests.csproj +++ b/tests/processes/Invitation.Executor.Tests/Invitation.Executor.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/Mailing.Executor.Tests/Mailing.Executor.Tests.csproj b/tests/processes/Mailing.Executor.Tests/Mailing.Executor.Tests.csproj index 4a484a767f..e5e4fdf0c8 100644 --- a/tests/processes/Mailing.Executor.Tests/Mailing.Executor.Tests.csproj +++ b/tests/processes/Mailing.Executor.Tests/Mailing.Executor.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/Mailing.Library.Tests/Mailing.Library.Tests.csproj b/tests/processes/Mailing.Library.Tests/Mailing.Library.Tests.csproj index d5d11c4592..778c17572d 100644 --- a/tests/processes/Mailing.Library.Tests/Mailing.Library.Tests.csproj +++ b/tests/processes/Mailing.Library.Tests/Mailing.Library.Tests.csproj @@ -32,8 +32,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/NetworkRegistration.Executor.Tests/NetworkRegistration.Executor.Tests.csproj b/tests/processes/NetworkRegistration.Executor.Tests/NetworkRegistration.Executor.Tests.csproj index 90c87bc225..780ccb619b 100644 --- a/tests/processes/NetworkRegistration.Executor.Tests/NetworkRegistration.Executor.Tests.csproj +++ b/tests/processes/NetworkRegistration.Executor.Tests/NetworkRegistration.Executor.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/NetworkRegistration.Library.Tests/NetworkRegistration.Library.Tests.csproj b/tests/processes/NetworkRegistration.Library.Tests/NetworkRegistration.Library.Tests.csproj index 5b94804cdf..d89a401379 100644 --- a/tests/processes/NetworkRegistration.Library.Tests/NetworkRegistration.Library.Tests.csproj +++ b/tests/processes/NetworkRegistration.Library.Tests/NetworkRegistration.Library.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/OfferSubscription.Executor.Tests/OfferSubscription.Executor.Tests.csproj b/tests/processes/OfferSubscription.Executor.Tests/OfferSubscription.Executor.Tests.csproj index 1beca4c7bd..03098dc384 100644 --- a/tests/processes/OfferSubscription.Executor.Tests/OfferSubscription.Executor.Tests.csproj +++ b/tests/processes/OfferSubscription.Executor.Tests/OfferSubscription.Executor.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/OfferSubscription.Library.Tests/OfferSubscription.Library.Tests.csproj b/tests/processes/OfferSubscription.Library.Tests/OfferSubscription.Library.Tests.csproj index a32d1eb7de..a6f7338017 100644 --- a/tests/processes/OfferSubscription.Library.Tests/OfferSubscription.Library.Tests.csproj +++ b/tests/processes/OfferSubscription.Library.Tests/OfferSubscription.Library.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/Processes.Library.Tests/Processes.Library.Tests.csproj b/tests/processes/Processes.Library.Tests/Processes.Library.Tests.csproj index eb60d5acb4..079fc6a65b 100644 --- a/tests/processes/Processes.Library.Tests/Processes.Library.Tests.csproj +++ b/tests/processes/Processes.Library.Tests/Processes.Library.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/Processes.Worker.Library.Tests/Processes.Worker.Library.Tests.csproj b/tests/processes/Processes.Worker.Library.Tests/Processes.Worker.Library.Tests.csproj index 7e18bed68e..78a3382ad7 100644 --- a/tests/processes/Processes.Worker.Library.Tests/Processes.Worker.Library.Tests.csproj +++ b/tests/processes/Processes.Worker.Library.Tests/Processes.Worker.Library.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/SelfDescriptionCreation.Executor.Tests/SelfDescriptionCreation.Executor.Tests.csproj b/tests/processes/SelfDescriptionCreation.Executor.Tests/SelfDescriptionCreation.Executor.Tests.csproj index 78b1ef1218..dd6a5e45e6 100644 --- a/tests/processes/SelfDescriptionCreation.Executor.Tests/SelfDescriptionCreation.Executor.Tests.csproj +++ b/tests/processes/SelfDescriptionCreation.Executor.Tests/SelfDescriptionCreation.Executor.Tests.csproj @@ -29,8 +29,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/processes/UserProvisioning.Executor.Tests/UserProvisioning.Executor.Tests.csproj b/tests/processes/UserProvisioning.Executor.Tests/UserProvisioning.Executor.Tests.csproj index 58025ea557..82a3463672 100644 --- a/tests/processes/UserProvisioning.Executor.Tests/UserProvisioning.Executor.Tests.csproj +++ b/tests/processes/UserProvisioning.Executor.Tests/UserProvisioning.Executor.Tests.csproj @@ -27,8 +27,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj b/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj index 124f4eb55a..58602f8ef3 100644 --- a/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj +++ b/tests/provisioning/Provisioning.DBAccess.Tests/Provisioning.DBAccess.Tests.csproj @@ -29,9 +29,9 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/provisioning/Provisioning.Library.Tests/Provisioning.Library.Tests.csproj b/tests/provisioning/Provisioning.Library.Tests/Provisioning.Library.Tests.csproj index 1755c71aba..fcf6694440 100644 --- a/tests/provisioning/Provisioning.Library.Tests/Provisioning.Library.Tests.csproj +++ b/tests/provisioning/Provisioning.Library.Tests/Provisioning.Library.Tests.csproj @@ -27,8 +27,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/provisioning/Provisioning.Library.Tests/UserProvisioningServiceAuxiliaryMethodsTests.cs b/tests/provisioning/Provisioning.Library.Tests/UserProvisioningServiceAuxiliaryMethodsTests.cs index 58f1243368..63f0d3dc7e 100644 --- a/tests/provisioning/Provisioning.Library.Tests/UserProvisioningServiceAuxiliaryMethodsTests.cs +++ b/tests/provisioning/Provisioning.Library.Tests/UserProvisioningServiceAuxiliaryMethodsTests.cs @@ -63,7 +63,7 @@ public UserProvisioningServiceAuxiliaryMethodsTests() #region GetCompanyNameIdpAliasData [Fact] - public async void TestCompanyNameIdpAliasDataFixtureSetup() + public async Task TestCompanyNameIdpAliasDataFixtureSetup() { var sut = new UserProvisioningService(null!, _portalRepositories); @@ -73,7 +73,7 @@ public async void TestCompanyNameIdpAliasDataFixtureSetup() } [Fact] - public async void TestCompanyNameIdpAliaswithNullCompanyNameAndEmailDataFixtureSetup() + public async Task TestCompanyNameIdpAliaswithNullCompanyNameAndEmailDataFixtureSetup() { A.CallTo(() => _identityProviderRepository.GetCompanyNameIdpAliasUntrackedAsync(A._, A._)) .Returns(_resultComposer.With( @@ -93,7 +93,7 @@ public async void TestCompanyNameIdpAliaswithNullCompanyNameAndEmailDataFixtureS } [Fact] - public async void TestCompanyNameIdpAliasDataNotFound() + public async Task TestCompanyNameIdpAliasDataNotFound() { ((Guid, string?, string?), (Guid, string?, string?, string?), (string?, bool)) notfound = default; @@ -109,7 +109,7 @@ public async void TestCompanyNameIdpAliasDataNotFound() } [Fact] - public async void TestCompanyNameIdpAliasDataIdpAliasNullThrows() + public async Task TestCompanyNameIdpAliasDataIdpAliasNullThrows() { A.CallTo(() => _identityProviderRepository.GetCompanyNameIdpAliasUntrackedAsync(A._, A._)) .Returns(_resultComposer.With( @@ -128,7 +128,7 @@ public async void TestCompanyNameIdpAliasDataIdpAliasNullThrows() } [Fact] - public async void TestCompanyNameIdpAliasDataCompanyNameNullThrows() + public async Task TestCompanyNameIdpAliasDataCompanyNameNullThrows() { var companyId = _fixture.Create(); @@ -154,7 +154,7 @@ public async void TestCompanyNameIdpAliasDataCompanyNameNullThrows() #region GetCompanyNameIdpAliasData [Fact] - public async void TestGetCompanyNameSharedIdpAliasDataFixtureSetup() + public async Task TestGetCompanyNameSharedIdpAliasDataFixtureSetup() { var sut = new UserProvisioningService(null!, _portalRepositories); @@ -164,7 +164,7 @@ public async void TestGetCompanyNameSharedIdpAliasDataFixtureSetup() } [Fact] - public async void TestGetCompanyNameSharedIdpwithNullCompanyNameAndEmailAliasDataFixtureSetup() + public async Task TestGetCompanyNameSharedIdpwithNullCompanyNameAndEmailAliasDataFixtureSetup() { // Arrange var data = ( @@ -185,8 +185,9 @@ public async void TestGetCompanyNameSharedIdpwithNullCompanyNameAndEmailAliasDat result.Should().NotBeNull(); result.NameCreatedBy.Should().Be("Dear User"); } + [Fact] - public async void TestGetCompanyNameSharedIdpAliasDataNotFound() + public async Task TestGetCompanyNameSharedIdpAliasDataNotFound() { var notfound = default(((Guid, string?, string?), (Guid, string?, string?, string?), IEnumerable<(Guid Id, string Alias)>)); @@ -202,7 +203,7 @@ public async void TestGetCompanyNameSharedIdpAliasDataNotFound() } [Fact] - public async void TestGetCompanyNameSharedIdpAliasDataForApplicationIdNotFound() + public async Task TestGetCompanyNameSharedIdpAliasDataForApplicationIdNotFound() { var notfound = default(((Guid, string?, string?), (Guid, string?, string?, string?), IEnumerable<(Guid Id, string Alias)>)); @@ -220,7 +221,7 @@ public async void TestGetCompanyNameSharedIdpAliasDataForApplicationIdNotFound() } [Fact] - public async void TestGetCompanyNameSharedIdpAliasDataNoIdpAliasThrows() + public async Task TestGetCompanyNameSharedIdpAliasDataNoIdpAliasThrows() { A.CallTo(() => _identityProviderRepository.GetCompanyNameIdpAliaseUntrackedAsync(A._, A._, A._, A._)) .Returns(_sharedIdpComposer.With(x => x.IdpAliase, Enumerable.Empty<(Guid Id, string Alias)>()).Create()); @@ -234,7 +235,7 @@ public async void TestGetCompanyNameSharedIdpAliasDataNoIdpAliasThrows() } [Fact] - public async void TestGetCompanyNameSharedIdpAliasDataMultipleIdpAliaseThrows() + public async Task TestGetCompanyNameSharedIdpAliasDataMultipleIdpAliaseThrows() { A.CallTo(() => _identityProviderRepository.GetCompanyNameIdpAliaseUntrackedAsync(A._, A._, A._, A._)) .Returns(_sharedIdpComposer.With(x => x.IdpAliase, _fixture.CreateMany<(Guid Id, string Alias)>(2)).Create()); @@ -248,7 +249,7 @@ public async void TestGetCompanyNameSharedIdpAliasDataMultipleIdpAliaseThrows() } [Fact] - public async void TestGetCompanyNameSharedIdpAliasDataCompanyNameNullThrows() + public async Task TestGetCompanyNameSharedIdpAliasDataCompanyNameNullThrows() { var companyId = _fixture.Create(); diff --git a/tests/registration/ApplicationActivation.Library.Tests/ApplicationActivation.Library.Tests.csproj b/tests/registration/ApplicationActivation.Library.Tests/ApplicationActivation.Library.Tests.csproj index 110df26656..274effdb74 100644 --- a/tests/registration/ApplicationActivation.Library.Tests/ApplicationActivation.Library.Tests.csproj +++ b/tests/registration/ApplicationActivation.Library.Tests/ApplicationActivation.Library.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/registration/Registration.Service.Tests/Registration.Service.Tests.csproj b/tests/registration/Registration.Service.Tests/Registration.Service.Tests.csproj index 919e45d780..85cbcda714 100644 --- a/tests/registration/Registration.Service.Tests/Registration.Service.Tests.csproj +++ b/tests/registration/Registration.Service.Tests/Registration.Service.Tests.csproj @@ -30,8 +30,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/shared/Tests.Shared/Tests.Shared.csproj b/tests/shared/Tests.Shared/Tests.Shared.csproj index 9669e6e15a..af30cde2ac 100644 --- a/tests/shared/Tests.Shared/Tests.Shared.csproj +++ b/tests/shared/Tests.Shared/Tests.Shared.csproj @@ -29,7 +29,7 @@ - + diff --git a/tests/web/Web.Identity.Tests/Web.Identity.Tests.csproj b/tests/web/Web.Identity.Tests/Web.Identity.Tests.csproj index 044a3936c7..7b85e680b7 100644 --- a/tests/web/Web.Identity.Tests/Web.Identity.Tests.csproj +++ b/tests/web/Web.Identity.Tests/Web.Identity.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/web/Web.PublicInfos.Tests/Web.PublicInfos.Tests.csproj b/tests/web/Web.PublicInfos.Tests/Web.PublicInfos.Tests.csproj index e2fbf6b410..1b8a821b45 100644 --- a/tests/web/Web.PublicInfos.Tests/Web.PublicInfos.Tests.csproj +++ b/tests/web/Web.PublicInfos.Tests/Web.PublicInfos.Tests.csproj @@ -28,8 +28,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all