-
Notifications
You must be signed in to change notification settings - Fork 3
test: Unit & integration tests for PaystackGateway #36
Copy link
Copy link
Open
Labels
area: gatewaysPayment gateway integrations and provider behaviorPayment gateway integrations and provider behaviorarea: testingAutomated test architecture and coverageAutomated test architecture and coveragepriority: P1High priority; should be addressed nextHigh priority; should be addressed nexttestingTest coverage and test suite workTest coverage and test suite work
Milestone
Description
Metadata
Metadata
Assignees
Labels
area: gatewaysPayment gateway integrations and provider behaviorPayment gateway integrations and provider behaviorarea: testingAutomated test architecture and coverageAutomated test architecture and coveragepriority: P1High priority; should be addressed nextHigh priority; should be addressed nexttestingTest coverage and test suite workTest coverage and test suite work
Overview
Add a complete unit and integration test suite for
PaystackGateway.Gateway Details
PaystackGatewaySecretKey)https://api.paystack.coPaymentGatewayType.Paystack = 2Unit Tests (mocked HTTP)
Constructor
InvalidOperationExceptionwhenSecretKeyis null/emptySecretKeyCreatePaymentAsync
VerifyPaymentAsync
RefundPaymentAsync
Integration Tests
Requires PAYSTACK_SECRET_KEY env var (sandbox key)
Files to Create
Acceptance Criteria