From 1128bb1ae12b09295e746cddd8e8dce5e646259a Mon Sep 17 00:00:00 2001 From: Nikola Dmitrasinovic Date: Mon, 22 Jan 2024 16:54:26 +0100 Subject: [PATCH] refactor: make param nullable for optional usage --- .../QuotaCreatedForTierIntegrationEventHandlerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs index 6c61b42766..360c92b799 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs @@ -68,7 +68,7 @@ public async void Updates_metric_statuses_after_creating_tier_quota() ).MustHaveHappened(); } - private static QuotaCreatedForTierIntegrationEventHandler CreateHandler(IIdentitiesRepository identities, ITiersRepository tierQuotaDefinitions, IMetricStatusesService metricStatusesService = null) + private static QuotaCreatedForTierIntegrationEventHandler CreateHandler(IIdentitiesRepository identities, ITiersRepository tierQuotaDefinitions, IMetricStatusesService? metricStatusesService = null) { var logger = A.Fake>(); return new QuotaCreatedForTierIntegrationEventHandler(identities, tierQuotaDefinitions, logger, metricStatusesService ?? A.Fake());