Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
apurbraj committed May 7, 2024
1 parent 2c6c1a8 commit 9797c9e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ public void iAmAbleToParseSubBatchSummaryResponse() {

@And("I call the sub batch summary API for sub batch summary with expected status of {int}")
public void iCallTheSubBatchSummaryAPIForSubBatchSummaryWithExpectedStatusOf(int expectedStatus) {
await().atMost(awaitMost, SECONDS).pollDelay(pollDelay, SECONDS).pollInterval(pollInterval, SECONDS).untilAsserted(() -> {
await().atMost(awaitMost + 10, SECONDS).pollDelay(pollDelay, SECONDS).pollInterval(pollInterval, SECONDS).untilAsserted(() -> {
RequestSpecification requestSpec = Utils.getDefaultSpec(scenarioScopeState.tenant);
requestSpec.header("X-Correlation-ID", scenarioScopeState.clientCorrelationId);
if (authEnabled) {
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/resources/batch_demo_csv/ph-ee-bulk-demo-7.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
id,request_id,payment_mode,payer_identifier_type,payer_identifier,payee_identifier_type,payee_identifier,amount,currency,note
0,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,003001003879112168,accountNumber,103873110196,850,USD,Test Payee Payment
1,72aa3ea4-e6f6-4880-877f-39f6ac4d052e,mojaloop,accountNumber,003001003879112168,accountNumber,103874120160,222,USD,Test Payee Payment
2,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,003001003879112168,accountNumber,103873110195,840,USD,Test Payee Payment
0,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,0030010038791121681,accountNumber,103873110196,850,USD,Test Payee Payment
1,72aa3ea4-e6f6-4880-877f-39f6ac4d052e,mojaloop,accountNumber,0030010038791121683,accountNumber,103874120160,222,USD,Test Payee Payment
2,f1e22fe3-9740-4fba-97b6-78f43bfa7f2f,mojaloop,accountNumber,0030010038791121684,accountNumber,103873110195,840,USD,Test Payee Payment
6 changes: 3 additions & 3 deletions src/test/java/resources/bulkPayment.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@gov @ext
Feature: Test ability to make payment to individual with bank account

Scenario: Input CSV file using the batch transaction API and poll batch summary API till we get completed status
Scenario: Input CSV file using the batch transaction API and poll batch summary API till we get completed status [WIP]
Given I have tenant as "paymentbb1"
And I have the demo csv file "bulk_payment.csv"
And I create a list of payee identifiers from csv file
Expand All @@ -25,7 +25,7 @@ Feature: Test ability to make payment to individual with bank account
And Status of transaction is "COMPLETED"
And I should have matching total txn count and successful txn count in response

Scenario: Bulk Transfer with ClosedLoop and Mojaloop
Scenario: Bulk Transfer with ClosedLoop and Mojaloop [WIP]
Given I have tenant as "paymentbb1"
And I have the demo csv file "bulk_payment_closedl_mock_mojaloop.csv"
And I create a list of payee identifiers from csv file
Expand All @@ -49,7 +49,7 @@ Feature: Test ability to make payment to individual with bank account
And Status of transaction is "COMPLETED"
And My total txns 8 and successful txn count in response should Match

Scenario: Bulk Transfer with ClosedLoop and GSMA
Scenario: Bulk Transfer with ClosedLoop and GSMA [WIP]
#payer 1 creation
Given I have Fineract-Platform-TenantId as "payerfsp2"
When I create and setup a "payer" with id "1" and account balance of 100 for combine test cases
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/resources/identityMapperTest.feature
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Feature: Identity Account Mapper Api Test
Then I will call the fetch beneficiary API with expected status of 200
And I will assert the fields from fetch beneficiary response
@gov @ext
Scenario: Batch Account Lookup Integration Test
Scenario: Batch Account Lookup Integration Test [WIP]
Given I create an IdentityMapperDTO for Register Beneficiary from csv file
When I call the register beneficiary API with expected status of 202 and stub "/registerBeneficiaryApiTest"
# And I will sleep for 3000 millisecond
Expand Down

0 comments on commit 9797c9e

Please sign in to comment.