fix: XML docs, IWebhookPaymentProvider, DI fix — CS1591 + testy#31
Merged
nieprzecietny merged 13 commits intomasterfrom Mar 25, 2026
Merged
fix: XML docs, IWebhookPaymentProvider, DI fix — CS1591 + testy#31nieprzecietny merged 13 commits intomasterfrom
nieprzecietny merged 13 commits intomasterfrom
Conversation
added 9 commits
March 25, 2026 09:52
…gle() rzucał InvalidOperationException Register*Provider() nie powinno rejestrować IPaymentProvider — to zadanie PaymentOptionsBuilder. RegisterPaymentProvider<T>(). Zostaje tylko concrete type + IWebhookPaymentProvider. Builder aktualizowany: rejestruje IWebhookPaymentProvider gdy provider wspiera ten interfejs.
…mentProvider zamiast generyka
…teInstance zamiast typeof()
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #31 +/- ##
===========================================
+ Coverage 41.71% 56.70% +14.99%
===========================================
Files 99 101 +2
Lines 3131 2871 -260
Branches 231 292 +61
===========================================
+ Hits 1306 1628 +322
+ Misses 1783 1167 -616
- Partials 42 76 +34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
added 4 commits
March 25, 2026 10:07
…PayU, Przelewy24, PayNow, Revolut, HotPay, Adyen - Nowe pliki: ExtraCoverageTests.cs, ServiceCallerHttpTests.cs - StripeProvider: mocked IStripeServiceCaller — GetChannels, RequestPayment, GetStatus, TransactionStatusChange, HandleWebhookAsync - Każdy provider: dodatkowe testy gałęzi (chargeback, tr_status, ABANDONED, ORDER_CANCELLED, PAYMENT_DECLINED, itp.) - ServiceCaller HTTP tests: mockowany HttpMessageHandler dla GetAccessToken, CreatePayment, GetStatus, VerifyTransaction - ConfigureOptions tests: Configure() + null-section smoke tests dla wszystkich providerów - Total line coverage: 66% → 92.04% (cel: ≥80% ✓)
…ą wywołania HTTP do momentu dostępności środowisk integracyjnych
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Co robi ten PR
XML Documentation (CS1591)
Pełna dokumentacja XML dla wszystkich projektów src:
TailoredApps.Shared.MediatR.ML— 19 plikówTailoredApps.Shared.MediatR— 12 plików (tłumaczenie PL→EN)TailoredApps.Shared.EntityFramework— uzupełnienie 5 plikówTailoredApps.Shared.Querying+Email.Models+Email.Office365TailoredApps.Shared.Email— 6 plikówIWebhookPaymentProvider
Nowa abstrakcja dla obsługi webhooków HTTP:
PaymentWebhookRequest/PaymentWebhookResult/IWebhookPaymentProviderIPaymentService.HandleWebhookAsync(providerKey, request)WebhookProviderTests.csDI Fix
Usunięto duplikat
IPaymentProviderzRegister*Provider()— powodowałInvalidOperationException: Sequence contains more than one matching elementwPaymentService.Single().